Pages

Sep 3, 2012

SharePoint, jpg and gif files won't display throwing Cannot Complete this action...

Issue:

jpg and gif files will not display on pages. Also, I can type the url to the image:

http://site/portal%20pictures/image.gif
http://site/portal%20pictures/image.jpg

I get "Error  - Cannot complete this action" page.


Resolution:


This issue may be related to Blobcache. Did you enable blobcache? If so, please try to reset index file.  Site settings à Site collection object cache à Check the box for “Force this server to reset its disk based cache”. It will completely delete all the images and reset the bin files back to 1KB, so that next request will go to database and the complete index will be getting rebuilt.

If you do not want to reset the complete index, find out the missing image and copy to the image folder. Name it as "filename.JPG.cache” and refresh the page. This should pick up the image.

On Blobcache follow the below blog......