iisvisual-studio-2012sharepoint-2013

IIS does not list a web site that matches the launched URL


I have sharepoint 2013 application deployed on IIS. When I want to start debugging, I face this error:

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

I found a few solutions for this issue, but none work for me. The solutions I found:

  1. VS should be running as Administrator. I did that.
  2. Windows Authentication should be enable on IIS. I did that.
  3. 'IIS Metabase and IIS 6 configuration compatibility' should be turn on in the Windows features. I did that.

How do I start debugging in Sharepoint 2013?


Solution

  • Try to start Visual Studio under administration account by choosing Run as administrator.