asp.net – MiniProfiler出错:System.Web.Routing.UrlRoutingMo
发布时间:2020-12-16 03:44:52 所属栏目:asp.Net 来源:网络整理
导读:我正在使用MiniProfiler来配置我的ASP.NET 4 Webform应用程序.在localhost它工作正常,但当我部署到IIS7时,我收到以下错误: System.Web.Routing.UrlRoutingModule does not implement IHttpHandlerFactory or IHttpHandler 这是给我错误的web.config行 syste
我正在使用MiniProfiler来配置我的ASP.NET 4 Webform应用程序.在localhost它工作正常,但当我部署到IIS7时,我收到以下错误:
System.Web.Routing.UrlRoutingModule does not implement IHttpHandlerFactory or IHttpHandler 这是给我错误的web.config行 <system.webServer> <handlers> <add name="MiniProfiler" path="mini-profiler-resources" verb="*" type="System.Web.Routing.UrlRoutingModule" resourceType="Unspecified" preCondition="integratedMode" /> </handlers> 你知道在这种情况下我该怎么办? 解决方法
最后,我最终使用了以下配置.这可能是矫枉过正,一般不推荐,但我解决了我的问题
<module runAllManagedModulesForAllRequests="true"/> (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- asp.net核心 – 如何在自己的主机环境中的ASP.NET Core中gz
- 如何在ASP.Net Repeater中创建一个三列表
- asp.net-mvc – 选择哪种ASP.NET编程模型?
- 如何在IIS 10上承载ASP.NET Web API 2项目
- 依赖于文件的.net核心asp.net单元测试 – appsettings.json
- asp.net-mvc – Cakephp在asp.net mvc中烘焙等效
- asp.net-mvc – SignalR无法从外部程序集中找到集线器
- asp.net-mvc – IIS Express – HTTP错误500.19 0x800700b7
- asp.net – 在Web部署之外应用Web.Config转换
- .net – 什么是Automapper?
推荐文章
站长推荐
- asp.net-mvc – 如何在asp.net mvc4应用程序中显
- image – 在MVC webgrid中添加“加载”指示符?
- asp.net – 命令超时和连接超时之间的区别
- asp.net-mvc – 如何为mvc应用程序中的所有控制器
- asp.net – 最后修改标头在MVC
- 一个简答的Access下的分页asp.net代码
- asp.net-core – 调试器中的ASP.NET核心命令行参
- asp.net – 如何修复“System.Security.Permissi
- asp.net-mvc – ASP.NET MVC 1.0 – 字典的模型绑
- asp.net-mvc – 什么是适当的时间为ViewData,Vie
热点阅读