开发者

mvc mini profiler (1.4) & IIS

开发者 https://www.devze.com 2023-03-17 06:56 出处:网络
The solution works great with cassini but as soon as I make it run into IIS (7.5 on Windows 7 / 64), i开发者_开发百科t stops working.All js & css file are never downloaded and the script fails.I l

The solution works great with cassini but as soon as I make it run into IIS (7.5 on Windows 7 / 64), i开发者_开发百科t stops working. All js & css file are never downloaded and the script fails. I looked into the MiniProfilerHanler, the GetHttpHandler method is called for each required js & css but the ProcessRequest method never runs.

The same behavior is observed using the sample.mvc project that goes along with the mini profiler sources.


I went to Program/Feature control pannel and clicked add remove windows feature. There I saw that under IIS, ASP.Net was not selected (all my sites worked like a charm) and checked it.. and Voila ! Don't ask ;-)


this is an older question but if you are still trying to get this to work try adding this to your web.config

<system.webServer>
    <modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>

not really the best solution but it works

0

精彩评论

暂无评论...
验证码 换一张
取 消