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.



This week we'll had exactly the same issue on our environment. When searching on the error saw this post so wanted to reoply with what fixed it for us.

We've only rebooted the destination environment and after the reboot we we're able to deploy the application without an error anymore. So hope this would also help others when faceing this issue.

Kind regards,