This project has moved. For the latest updates, please go here.

Memory problem with images

Mar 1, 2011 at 12:26 PM

Hi,

When conversion process is run as console application, images are converted into the docx without any problems.

But if I run the same code as Custom Application Page in sharepoint enviroment, it put information

"The image cannot be displayed. Your computer may not have enough memory to open the image, or the image may have been corrupted. Restart your computer, and then open in the file again. If the red x still appears, you may have to delete the image and then insert it again"

instead of image.

Thanks for help.

B.Rz.

Coordinator
Mar 1, 2011 at 7:37 PM

I'm really not sure you're loading an image. If you run in out of memory, asp.net should have replied you with a custom error pages and you try to load it like an image !

Again like your previous post, do you provide credentials ? From your custom application page, do you need to provide the SPWeb.Url to access an image library?