问题
similar to this question mvc mini profiler (1.4) & IIS
I am running IIS 7.5 and my app pool is run in integrated mode on a Webforms site
and when the requests for the mini-profiler-includes files happen i get a bunch of 404 errors?
the only things i have changed are that i removed the MVChelpers folder and the MVC reference because we do not have them installed on our site.
It works fine from VS2010
Any ideas what I need to do to fix this?
THANKS
回答1:
google knows all... sometimes i just need to dig a little deeper I suppose
anyway if you have this issue try adding this to your web.config
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
worked for me.
来源:https://stackoverflow.com/questions/7998771/mvc-mini-profiler-iis7-issue