A generic error occurred in GDI+

后端 未结 10 666
孤城傲影
孤城傲影 2020-12-17 18:17
[ExternalException (0x80004005): A generic error occurred in GDI+.]
   IpitchitImageHandler.Data.ImageRepository.AddNewTempImage(Stream image, String extension, Guid         


        
10条回答
  •  清酒与你
    2020-12-17 18:46

    I just had an similar problem (same exception) on my hosted website: It turned out to be a permissions issue, the ASP.NET account was trying to read image files from a directory outside its available scope.

    I suggest you double-check the permissions as well as the element in web.config, it should be set to "Medium" or higher depending on where the files are located.

提交回复
热议问题