GDI+ 中发生一般性错误。

简介:

GDI+ 中发生一般性错误。

 

“/wechat”应用程序中的服务器错误。


GDI+ 中发生一般性错误。

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 

异常详细信息: System.Runtime.InteropServices.ExternalException: GDI+ 中发生一般性错误。

源错误: 

行 37:                 }
行 38:                 string savePath = string.Format("{0}/storebook.png", path);
行 39: bitmap.Save(savePath);
行 40:                 baseList.Str = string.Format("{0}/storebook.png", str);
行 41:             #endregion


源文件: F:\lab-mf-storebook\Purple\Purple.WebWeChat\Controllers\QrCodeController.cs    行: 39 

堆栈跟踪: 

[ExternalException (0x80004005): GDI+ 中发生一般性错误。]
   System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams) +475786
   System.Drawing.Image.Save(String filename, ImageFormat format) +69
   System.Drawing.Image.Save(String filename) +25
   Purple.WebWeChat.Controllers.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.<>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

 


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.34280

本文转自ylbtech博客园博客,原文链接:http://www.cnblogs.com/ylbtech/p/5123195.html ,如需转载请自行联系原作者
相关文章
|
2月前
|
UED
Bug级别判定法则
Bug级别判定法则
|
6月前
|
前端开发
一个 ExpressionChangedAfterItHasBeenCheckedError 错误的解决过程
一个 ExpressionChangedAfterItHasBeenCheckedError 错误的解决过程
41 1
|
9月前
|
测试技术
04-测试用例设计方法-判定表法
04-测试用例设计方法-判定表法
|
11月前
|
算法 安全 测试技术
软件测试之学习测试用例的设计(等价类法、边界值法、错误猜测法、场景法、因果图法、正交法)
1. 测试用例的概念 2. 为什么在测试前要设计测试用例 3. 基于需求进行测试用例的设计 1)功能性需求测试 2)非功能性需求测试 4. 具体的测试用例设计方法 1)等价类 2)边界值 3)错误猜测法 4)场景法 5)因果图法 6)正交法
182 0
|
缓存 前端开发 中间件
服务器开发-纠正之前的错误
服务器开发-纠正之前的错误
65 0
|
测试技术
测试思想-测试设计 测试用例设计之判定表驱动分析方法
测试思想-测试设计 测试用例设计之判定表驱动分析方法
88 0
|
人工智能 BI 开发者
假设检验中的两类错误 | 学习笔记
快速学习假设检验中的两类错误
228 0
假设检验中的两类错误 | 学习笔记
|
前端开发 Java 开发工具
面试过程中千万不要犯这 5 点低级错误!
面试过程中千万不要犯这 5 点低级错误!
123 0
面试过程中千万不要犯这 5 点低级错误!