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

debuggingiissharepoint-2013visual studio 2012

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.

It still doesn't work. Any other solutions? Please help me.

Best Answer

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