mvc 迷你分析器 (1.4) &信息系统
该解决方案与 cassini 配合得很好,但一旦我让它运行到 IIS(Windows 7 / 64 上的 7.5),它就停止工作。所有 js 和css 文件从未被下载并且脚本失败。我查看了 MiniProfilerHanler
,为每个所需的 js & 调用 GetHttpHandler
方法。 css 但 ProcessRequest 方法永远不会运行。
使用与迷你分析器源一起使用的sample.mvc 项目可以观察到相同的行为。
The solution works great with cassini but as soon as I make it run into IIS (7.5 on Windows 7 / 64), it 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我转到程序/功能控制面板并单击添加删除窗口功能。在那里,我看到在 IIS 下,未选择 ASP.Net(我的所有网站都工作得很好)并检查了它.. 瞧!别问;-)
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 ;-)
这是一个较旧的问题,但如果您仍然试图让它工作,请尝试将其添加到您的 web.config 中,这
并不是最好的解决方案,但它可以工作
this is an older question but if you are still trying to get this to work try adding this to your web.config
not really the best solution but it works