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

删除回忆录丶 提交于 2019-12-04 19:43:17

问题


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.

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

Thanks


回答1:


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>


来源:https://stackoverflow.com/questions/8752267/iis-url-rewrite-module-causes-unable-to-start-debugging-on-the-webserver

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!