【问题标题】:IIS Url Rewrite Module causes "unable to start debugging on the webserver"IIS Url Rewrite Module 导致“无法在网络服务器上开始调试”
【发布时间】:2012-02-03 20:29:30
【问题描述】:

我刚刚为 IIS 7 实现了 URL 重写模块 2.0,它似乎导致 Visual Studio 2010 中出现“无法在 Web 服务器上开始调试”错误。

除了在 web.config 中注释节点之外,有没有人知道是否有针对 VS2010 的修复?

谢谢

【问题讨论】:

  • 还能浏览到应用的根目录吗?

标签: c# visual-studio-2010 iis-7 url-rewriting


【解决方案1】:

在此处查看 Kirk Woll 的解决方案: Unable to start debugging on the web server. Could not start ASP.NET debugging VS 2010, II7, Win 7 x64

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

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-11-18
    • 2011-09-23
    • 1970-01-01
    • 1970-01-01
    • 2014-06-25
    • 2013-07-19
    相关资源
    最近更新 更多