# 404 Error for MP even with http Handler added to web.config

**URL:** <https://community.miniprofiler.com/t/404-error-for-mp-even-with-http-handler-added-to-web-config/234>\
**Category:** .NET\
**Created:** [March 3, 2014, 10:05am UTC](https://community.miniprofiler.com/t/404-error-for-mp-even-with-http-handler-added-to-web-config/234 "2014-03-03T10:05:46Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgreenuk](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/dgreenuk/32/970_2.png) [@dgreenuk](https://community.miniprofiler.com/u/dgreenuk)\
**Post date:** [March 3, 2014, 10:05am UTC](https://community.miniprofiler.com/t/404-error-for-mp-even-with-http-handler-added-to-web-config/234/1 "2014-03-03T10:05:46Z")

</div>

I have installed Umbraco v6.1.6 which uses mini profiler. The profiler works on my dev machine but will not work on the server (IIS6).

To discount my site been the issue I installed a clean install of Umbraco and tried to run the profiler but was getting the 404:

[http://profilertest.com/mini-profiler-resources/includes.js?v=xwYPDDH1blvqmxgsBweNC++H7CFU3KGQ+zFcVlJPsXw=](http://profilertest.com/mini-profiler-resources/includes.js?v=xwYPDDH1blvqmxgsBweNC++H7CFU3KGQ+zFcVlJPsXw=)

(the above is not a real domain but an example)

So i added the http handler to the httpHandlers in the web.config but still getting the issue.

I also tried adding all the mini profiler files to my deployment but i started getting other errors then (jQueryMP is not defined in includes.js)

Can i first check MP is compatible with IIS6 and secondly what do i need to check next? Stumped at the moment as cant find any other possible solutions from googling etc…

Thanks  
Damian

---

<div class="post-metadata">

**Author:** ![dgreenuk](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/dgreenuk/32/970_2.png) [@dgreenuk](https://community.miniprofiler.com/u/dgreenuk)\
**Post date:** [March 3, 2014, 10:26am UTC](https://community.miniprofiler.com/t/404-error-for-mp-even-with-http-handler-added-to-web-config/234/2 "2014-03-03T10:26:54Z")

</div>

I removed the validate attribute from the web.config handler and got this message:

System.Web.Routing.UrlRoutingModule does not implement IHttpHandlerFactory or IHttpHandler

So i googled and tried changing UrlRoutingModule to UrlRoutingHandler

The IHttpHandler error went away but back came the includes.js 404! ☹

---

<div class="post-metadata">

**Author:** ![dgreenuk](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/dgreenuk/32/970_2.png) [@dgreenuk](https://community.miniprofiler.com/u/dgreenuk)\
**Post date:** [March 3, 2014, 10:40am UTC](https://community.miniprofiler.com/t/404-error-for-mp-even-with-http-handler-added-to-web-config/234/3 "2014-03-03T10:40:38Z")

</div>

Sussed it!

You need to go into IIS and add a wildcard mapping. Soon as i added this i got the mini profiler. 😄

Now to check nothing else has broken.

You can also remove the handler once the wilcard mapping is in place.

---

<div class="post-metadata">

**Author:** ![jnfsmile](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/jnfsmile/32/968_2.png) [@jnfsmile](https://community.miniprofiler.com/u/jnfsmile)\
**Post date:** [March 26, 2014, 7:46am UTC](https://community.miniprofiler.com/t/404-error-for-mp-even-with-http-handler-added-to-web-config/234/4 "2014-03-26T07:46:45Z")

</div>

Hi,  
Can you say what `.dll` it was that you added as wildcard?  
What it’s path is?  
Doesn’t seem to be helping me…☹

---

<div class="post-metadata">

**Author:** ![dgreenuk](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/dgreenuk/32/970_2.png) [@dgreenuk](https://community.miniprofiler.com/u/dgreenuk)\
**Post date:** [March 26, 2014, 2:23pm UTC](https://community.miniprofiler.com/t/404-error-for-mp-even-with-http-handler-added-to-web-config/234/5 "2014-03-26T14:23:43Z")

</div>

Hi,

Yes it the main aspnet dll that fires for other [asp.net](http://asp.net) files:

c:\windows\[microsoft.net](http://microsoft.net)\framework64\v4.0.30319\aspnet\_isapi.dll

That is for a 64 bit server. You will need the 32 bit version otherwise.

Hope that helps.

Damian

---

<div class="post-metadata">

**Author:** ![jnfsmile](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/jnfsmile/32/968_2.png) [@jnfsmile](https://community.miniprofiler.com/u/jnfsmile)\
**Post date:** [March 30, 2014, 6:01am UTC](https://community.miniprofiler.com/t/404-error-for-mp-even-with-http-handler-added-to-web-config/234/6 "2014-03-30T06:01:34Z")

</div>

3.5 build. running on 3.5 framework too.

I tried the same with the v2.0… but it didn’t help yet

---

<div class="post-metadata">

**Author:** ![John](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@John](https://community.miniprofiler.com/u/John)\
**Post date:** [April 1, 2014, 3:11pm UTC](https://community.miniprofiler.com/t/404-error-for-mp-even-with-http-handler-added-to-web-config/234/7 "2014-04-01T15:11:01Z")

</div>

Is this an IE 8 issue? In December, Chrome was said to not suffer this problem. IE 8 only?

---

<div class="post-metadata">

**Author:** ![jnfsmile](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/jnfsmile/32/968_2.png) [@jnfsmile](https://community.miniprofiler.com/u/jnfsmile)\
**Post date:** [April 7, 2014, 4:38am UTC](https://community.miniprofiler.com/t/404-error-for-mp-even-with-http-handler-added-to-web-config/234/8 "2014-04-07T04:38:47Z")

</div>

Nope, browser irrelevant.
