واگن‌های مترو از گمرک رسید

A generic error occurred in GDI+.


Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.

Source Error:


Line 451:    {
Line 452:        Captcha cImage = new Captcha(Captcha.generateRandomCode(), 140, 40);
Line 453:        cImage.Image.Save(Server.MapPath("~\CaptchaImages\" + Convert.ToString(Session["CaptchaCode"]) + ".jpg"), ImageFormat.Jpeg);
Line 454:        CaptachaImage.ImageUrl = "~\CaptchaImages\" + Convert.ToString(Session["CaptchaCode"]) + ".jpg";
Line 455:        cImage.Dispose();

Source File: e:\JamejamOnline[880305]\Jamejamonline\newstext.aspx.cs    Line: 453

Stack Trace:


[ExternalException (0x80004005): A generic error occurred in GDI+.]
   System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams) +1037
   newstext.GenerateCode() in e:\JamejamOnline[880305]\Jamejamonline\newstext.aspx.cs:453
   newstext.Page_Load(Object sender, EventArgs e) in e:\JamejamOnline[880305]\Jamejamonline\newstext.aspx.cs:301
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +137
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2524


Version Information: Microsoft .NET Framework Version:2.0.50727.5456; ASP.NET Version:2.0.50727.5456


jamejamonline.ir – 22 – RSS Version

نشانی ایمیل شما منتشر نخواهد شد. نظرتان را در مورد مطلب فوق بنویسید *

بستن تبلیغ