IIS Url重写模块导致“无法在Web服务器上启动调试” [英] IIS Url Rewrite Module causes "unable to start debugging on the webserver"

查看:264
本文介绍了IIS Url重写模块导致“无法在Web服务器上启动调试”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚为IIS 7实现了URL Rewrite Module 2.0,它似乎导致Visual Studio 2010中无法在Web服务器上启动调试错误。

I have just implemented URL Rewrite Module 2.0 for IIS 7 and it seems to be causing a "unable to start debugging on the webserver" error in Visual Studio 2010.

除了在web.config中评论节点外,是否有人知道VS2010是否有针对此的修复?

Aside from commenting the node in the web.config, does anyone know if there might be a fix for this for VS2010?

谢谢

推荐答案

请在此处查看Kirk Woll的解决方案:
无法在Web服务器上启动调试。无法启动ASP.NET调试VS 2010,II7,Win 7 x64

See the solution of Kirk Woll here: Unable to start debugging on the web server. Could not start ASP.NET debugging VS 2010, II7, Win 7 x64

只需在规则顶部添加此规则

Just add this rule at the top of your rules

<rule name="Ignore Default.aspx" enabled="true" stopProcessing="true">
    <match url="^debugattach\.aspx" />
    <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
    <action type="None" />
</rule>

这篇关于IIS Url重写模块导致“无法在Web服务器上启动调试”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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