Monday, January 28, 2013

Asp.net-Unable to start debugging on the web server. IIS does not list a web site that matches the launched URL

Solve the problem “Unable to start debugging on the web server. IIS does not list a web site that matches the launched URL.” When running web application using visual studio in asp.net.

1) Run VS as administrator
2) enable IIS Metabase and IIS 6 configuration compatibility

3) add debug attribute to Web.Debug.config (not 100% sure this is needed)
 <system.web>
      <compilation targetFramework="4.0" batch="false" debug="true">
      </compilation>
  </system.web>

No comments:

Post a Comment