A generic error occurred in GDI +.
Server error in the "/wechat" application.
A generic error occurred in GDI +.
Description: An unhandled exception occurred during the execution of the current WEB request. Check the stack trace information For more information about the error and the source of the error in your code.
Exception Details: A general error occurred in the system.runtime.interopservices.externalexception:gdi+.
Source Error:
Row: } line: string savepath = string. Format ("{0}/storebook.png", path); Line 39:bitmap. Save (Savepath);Line: baselist.str = string. Format ("{0}/storebook.png", str); line: #endregion |
[ExternalException (0x80004005): A generic error occurred in GDI +. ] System.Drawing.Image.Save (String filename, ImageCodecInfo encoder, encoderparameters encoderparams) +475786 SYSTEM.D Rawing. Image.Save (string filename, imageformat format) +69 System.Drawing.Image.Save (string filename) +25 Purple.WebWeChat.Co Ntrollers. Qrcodecontroller.storebook () in f:\lab-mf-storebook\purple\purple.webwechat\controllers\qrcodecontroller.cs:39 Lambda_method (Closure, Controllerbase, object[]) +62 System.Web.Mvc.ActionMethodDispatcher.Execute (controllerbase Controller, object[] parameters) +14 System.Web.Mvc.ReflectedActionDescriptor.Execute (controllercontext ControllerContext, IDictionary ' 2 parameters) +205 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod ( ControllerContext ControllerContext, Actiondescriptor actiondescriptor, IDictionary ' 2 parameters) +27 SYSTEM.WEB.MVC. <>c__displayclassd.<invokeactionmethodwithfilters>b__a (+56) System.Web.Mvc.ControllerActionInvoker.InvokeActioNmethodfilter (iactionfilter filter, ActionExecutingContext precontext, Func ' 1 continuation) +256 system.web.mvc.<& Gt;c__displayclassf.<invokeactionmethodwithfilters>b__c (+22) System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters (ControllerContext controllercontext, IList ' 1 filters, Actiondescriptor actiondescriptor, IDictionary ' 2 parameters) +190 System.Web.Mvc.ControllerActionInvoker.InvokeAction (ControllerContext controllercontext, String actionname) +324 System.Web.Mvc.Controller.ExecuteCore () +105 System.Web.Mvc.ControllerBase.Execute (RequestContext requestcontext) +42 System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute (RequestContext requestcontext) +10 System.web.mvc.<>c__displayclass8.<beginprocessrequest>b__4 () +31 system.web.mvc.async.<>c__ Displayclass1.<makevoiddelegate>b__0 () +19 system.web.mvc.async.<>c__displayclass8 ' 1.< Beginsynchronous>b__7 (IAsyncResult _) +10 System.Web.Mvc.AsynC.wrappedasyncresult ' 1.End () +55 System.Web.Mvc.MvcHandler.EndProcessRequest (IAsyncResult asyncResult) +43 System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest (IAsyncResult result) +9 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute (+9658236) System.Web.HttpApplication.ExecuteStep (IExecutionStep step, boolean& completedsynchronously) +155 |
Version information: Microsoft. NET Framework Version: 4.0.30319; ASP. NET version: 4.0.30319.34280
A generic error occurred in
GDI +.