MVC迷你探查 - IIS7问题 [英] mvc mini profiler - IIS7 issue

查看:114
本文介绍了MVC迷你探查 - IIS7问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

与此类似问题 MVC迷你分析器(1.4)及IIS

我运行IIS 7.5和我的应用程序池在Web表单网站运行集成模式

I am running IIS 7.5 and my app pool is run in integrated mode on a Webforms site

和当为请求
    迷你分析器,包括
文件发生,我得到一束404错误的?

and when the requests for the mini-profiler-includes files happen i get a bunch of 404 errors?

我已经改变的唯一的东西是我删除了MVChelpers文件夹和MVC参考,因为我们没有他们在我们的网站上安装。

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.

它工作正常,从VS2010

It works fine from VS2010

什么,我需要做的任何想法来解决这个问题?

Any ideas what I need to do to fix this?

感谢

推荐答案

谷歌知道所有......有时候,我只是需要深入一点,我想

google knows all... sometimes i just need to dig a little deeper I suppose

无论如何,如果你有这个问题你可以添加以下到你的web.config

anyway if you have this issue try adding this to your web.config

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

为我工作。

这篇关于MVC迷你探查 - IIS7问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆