mvc mini profiler - IIS7 issue

試著忘記壹切 提交于 2019-12-24 11:09:19

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!