A generic error occurred in GDI+, JPEG Image to MemoryStream

前端 未结 30 1511
再見小時候
再見小時候 2020-11-22 06:47

This seems to be a bit of an infamous error all over the web. So much so that I have been unable to find an answer to my problem as my scenario doesn\'t fit. An exception ge

30条回答
  •  悲&欢浪女
    2020-11-22 07:02

    If you are getting that error , then I can say that your application doesn't have a write permission on some directory.

    For example, if you are trying to save the Image from the memory stream to the file system , you may get that error.

    Please if you are using XP, make sure to add write permission for the aspnet account on that folder.

    If you are using windows server (2003,2008) or Vista, make sure that add write permission for the Network service account.

    Hope it help some one.

提交回复
热议问题