Getting a general error when using GDI+

Asked By 30 points N/A Posted on -
qa-featured

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.

SHARE
Best Answer by Mark Amna
Best Answer
Best Answer
Answered By 5 points N/A #144359

Getting a general error when using GDI+

qa-featured

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

Related Questions