“A generic error occurred in GDI+” when attempting to use Image.Save

后端 未结 6 1046
挽巷
挽巷 2020-12-11 06:21

I am developing an Outlook 2010 Add-In, and am loading an image from a serialized XML file. The image loads fine, and am able to assign it to a pictureBox object on a Winfo

6条回答
  •  情话喂你
    2020-12-11 07:03


    1. Make Sure That your destination folder have read/write permission (check it twice!).
    2. Using Server.MapPath is better
    3. Make Sure you have free space on your destination drive or folder. 4. Most of the times we cant user Memory Streamers On Shared Servers, So we should be make sure that provider allow us to use it.

    Hope Microsoft Give Detailed Exception Errors instead of "Generic GDI+ Errror" !!!

提交回复
热议问题