A generic error occurred in GDI+

While moving application from acceptance to prod. We were getting the below error in lifetime. 

A generic error occurred in GDI+

Can anyone help me on this


This appends with one application or with all of them?

If appends with one of them can be some kind of dependency or lack of permissions in one of them. I say this based in what I read in this link: https://weblogs.asp.net/anasghanem/solving-quot-a-generic-error-occurred-in-gdi-quot-exception

All that I found about generic GDI+ error is related with this one.



With one application

Are you trying to save an image? if yes! then "A generic error occurred in GDI+" because of these reasons.

  • When you try and save an image in wrong path.
  • Check your folder's permission where the image is saved.

Hope this helps.