یک اتفاق جدید برای رسانه‌های ایرانی

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 457:    {
Line 458:        Captcha cImage = new Captcha(Captcha.generateRandomCode(), 140, 40);
Line 459:        cImage.Image.Save(Server.MapPath("~\CaptchaImages\" + Convert.ToString(Session["CaptchaCode"]) + ".jpg"), ImageFormat.Jpeg);
Line 460:        CaptachaImage.ImageUrl = "~\CaptchaImages\" + Convert.ToString(Session["CaptchaCode"]) + ".jpg";
Line 461:        cImage.Dispose();

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

Stack Trace:


[ExternalException (0x80004005): A generic error occurred in GDI+.]
   System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams) +614041
   newstext.GenerateCode() in e:\JamejamOnline[880305]\Jamejamonline\newstext.aspx.cs:459
   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) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


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


jamejamonline.ir – 22 – RSS Version

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

بستن تبلیغ