2012-07-18 57 views
0

我无法从我的项目中卸载MiniProfiler。它总是给我这个错误消息“Microsoft JScript运行时错误:'MiniProfiler'未定义',并将动态JavaScript代码插入到我的HTML页面。当我按下浏览器的后退按钮时,它在IE9上。MiniProfiler卸载错误

请帮忙。

回答

0

如果您添加下面的代码行到你的web.config文件应该整理出来的问题:

<system.webServer> 
    ... 
    <handlers> 
     <add name="MiniProfiler" path="mini-profiler-resources/*" verb="*" 
     type="System.Web.Routing.UrlRoutingModule" 
     resourceType="Unspecified" 
     preCondition="integratedMode" /> 
    </handlers> 
    </system.webServer> 

我使用MiniProfilerMVC 4时发现确切的同样的错误应用。这为我修好了。欲了解更多信息,请查看MiniProfiler论坛:

http://community.miniprofiler.com/permalinks/113/microsoft-jscript-runtime-error-miniprofiler-is-undefined