I reported to A generic error occurred in GDI+. when I launched the IIS website. Wrong, what's the solution?

when I was publishing the website today, I encountered such a problem:: A generic error occurred in GDI+.
my idea is very simple: build a QR code generation system, write the information of the relevant fields, and make sure that the QR code of the corresponding code quality can be generated according to the rules. I developed the VS2013 locally. The first page is filled in fields, and after confirmation, it is passed to ASHX by AJAX get/post for field merging rule processing. Synthesize a string and give it to the DataMatrix.net plug-in installed by NUGET in VS to generate a QR code. There is no problem with local debugging, but there will be a problem with, A generic error occurred in GDI+. when IIS publishes the website. The error is the exception reported from ASHX. F12 shows that it is 500 error. I have also changed the permissions of the server project folder, which is useless. Does it have anything to do with third-party plug-ins? I put up the relevant screenshots for everyone to check:
clipboard.png

clipboard.png

clipboard.png
these are the general screenshots. The position of the red line is always abnormal. I don"t know if the server path is wrong. What I mean is that I put the QR code image I generated under the QRcodeIMG folder of my project, and then take it out and display it at the front desk. I don"t know whether the idea is right. This generation method is provided by netizens. I haven"t touched the class BitMAP. Plug-ins also have no contact, they are so related to each other, there is no new way to save such shapes, margins, lattice-sized pictures, hope netizens can help me, the project is more urgent, thank you!


Bitmap b=Die.EncodeImage(QRstring,option);
Bitmap newBitmap = new Bitmap(b);
newBitmap.Save("url");
Menu