8

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

Nugs
  • 5,503
  • 7
  • 36
  • 57

1 Answers1

13

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>
Community
  • 1
  • 1
Tuizi
  • 1,643
  • 4
  • 22
  • 34