I'm using MiniProfiler to profile my ASP.NET 4 Webform application. In localhost it works fine, but when I deploy to IIS7 I receive the following error:
System.Web.Routing.UrlRoutingModule does not implement IHttpHandlerFactory or IHttpHandler
This is the web.config lines that gives me the 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 idea what should I do in this situation?