Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

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

Thanks

like image 647
Nugs Avatar asked Jan 06 '12 01:01

Nugs


1 Answers

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>
like image 127
Tuizi Avatar answered Nov 13 '22 12:11

Tuizi