N/APosted on - 05/10/2012
I am getting a general error when using GDI+.
I get the error when I save an image on GDI+. "A generic error occurred in GDI+." Here is the screenshot of the code I used to resize the image upon uploading it to the site.
I may have missed a thing I am not familiar with. Any help will do.
Getting a general error when using GDI+
Good day Alicia,
This error itself is not very expressive and the error is very ordinary one and very tricky. Permission problems are the ordinary cause, but there has been some issues were the permissions are fine and it still working. I have browsed some articles regarding on this error, but the same error message shown is for completely different causes. We have seen it for permissions to the photos directory, permissions to the IIS temporary directory, and even more casual stuff. The first link you posted is most probable not the cause. It is talking about errors when constructing the image and disposing the image, but not when it is saving it.
I hope this information helps, Mark Amna