I am getting the following error in IE, when running the same code on IIS6.
345A generic error occurred in GDI+.Please help, need to fix this ASAP.
I am using zxing dll on my .net project, Locally everything is working fine, but when hosted the same site on IIS 6,QR Code is not getting generated.Following is the piece on code i have written in my project in reference to zxing.dll
private void ProcessRequest(string url, string width, string height){try{QRCode qrCode = new QRCode();var bmp = qrCode.CreateQRCode(url, width, height);Response.Clear();Response.ContentType = "image/png";Response.BufferOutput = true;bmp.Save(Response.OutputStream, ImageFormat.Png);Response.Flush();}catch (Exception ex){Response.Write("Exception Details - " + ex.Message);}}
Please Note - It is working on IIS 7, Also you can find the error snapshot in attachments.