开发者

mvc mini profiler (1.4) & IIS

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜