简体   繁体   English

IIS Url重写模块导致“无法在Web服务器上启动调试”

[英]IIS Url Rewrite Module causes “unable to start debugging on the webserver”

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. 我刚刚为IIS 7实现了URL Rewrite Module 2.0,它似乎导致Visual Studio 2010中的“无法在Web服务器上启动调试”错误。

Aside from commenting the node in the web.config, does anyone know if there might be a fix for this for VS2010? 除了在web.config中评论节点之外,是否有人知道VS2010是否可以修复此问题?

Thanks 谢谢

See the solution of Kirk Woll here: Unable to start debugging on the web server. 请在此处查看Kirk Woll的解决方案: 无法在Web服务器上开始调试。 Could not start ASP.NET debugging VS 2010, II7, Win 7 x64 无法启动ASP.NET调试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>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM