我正在使用 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>
你知道在这种情况下我应该怎么做吗?