【发布时间】:2011-12-21 09:02:20
【问题描述】:
类似这个问题mvc mini profiler (1.4) & IIS
我正在运行 IIS 7.5,并且我的应用程序池在 Webforms 站点上以集成模式运行
当请求 迷你分析器包括 文件发生我得到一堆 404 错误?
我唯一改变的是我删除了 MVChelpers 文件夹和 MVC 引用,因为我们的网站上没有安装它们。
从 VS2010 开始运行良好
任何想法我需要做些什么来解决这个问题?
谢谢
【问题讨论】:
-
作为查看其他类似帖子(如stackoverflow.com/questions/6497180/…)的注释,我想知道它是否可能在我的 global.asax.cs 中。但是没有什么可以清除路由寄存器?我只有 DefaultModel.RegisterContext(typeof(MyContext), new ContextConfiguration() { ScaffoldAllTables = false });和 routes.Add(new DynamicDataRoute("{table}/{action}.aspx") { Constraints = new RouteValueDictionary(new { action = "List|Details|Edit|Insert" }), Model = DefaultModel });跨度>
-
我的另一个想法是我需要在我的 web.config 中添加一个
但我试过了,但它似乎没有帮助?
标签: asp.net iis-7 iis-7.5 mvc-mini-profiler