I use MiniProfiler to profile my ASP.NET 4 Webform application. It works fine in localhost, but when I deploy to IIS7, I get the following error:
System.Web.Routing.UrlRoutingModule does not implement IHttpHandlerFactory or IHttpHandler
These are the web.config lines that give me an error
<system.webServer> <handlers> <add name="MiniProfiler" path="mini-profiler-resources" verb="*" type="System.Web.Routing.UrlRoutingModule" resourceType="Unspecified" preCondition="integratedMode" /> </handlers>
Do you have any ideas what should I do in this situation?
source share