【发布时间】:2014-05-06 21:57:02
【问题描述】:
查看我的日志发现这个异常,但不知道应该如何修复它,有什么想法吗?
ImageResizer.ImageProcessingException (0x80004005): Image Resizer: No image encoder was found for the request.
в ImageResizer.InterceptModule.HandleRequest(HttpContext context, String virtualPath, NameValueCollection queryString, IVirtualFile vf)
в ImageResizer.InterceptModule.CheckRequest_PostAuthorizeRequest(Object sender, EventArgs e)
в System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
в System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
如果配置中有这样的地方我可以监听异常并正确处理它们。它以 HttpModule 的形式安装,并且可以确定如何全局处理异常。
【问题讨论】:
标签: asp.net imageresizer