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

DebuggingIisVisual Studio-2012Sharepoint 2013

Debugging Problem Overview


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.

Debugging Solutions


Solution 1 - Debugging

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

Solution 2 - Debugging

If nothing works as above said solutions , try this out

  1. Start >> Control Panel >> Click Programs

  2. Click Turn Windows features on or off.

  3. In the User Account Control dialog box, click Continue

  4. Expand Internet Information Services, expand Web Management Tools, and then expand IIS 6 Management Compatibility

  5. Click to select the IIS Metabase and IIS 6 configuration compatibility check box, and then click OK.

Solution 3 - Debugging

I had this same problem.

I was trying to move my solution to a different DEV server of mine, that I don't use that often.

1.) I had not installed some of the items from the Application Development (duh, right) sections of the IIS Role Services. I ended up checking everything, but I think you only need ASP.NET

2.) I installed the asp.net and web tools 2013 available by clicking here

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionOleg KyrylchukView Question on Stackoverflow
Solution 1 - DebuggingBabakView Answer on Stackoverflow
Solution 2 - DebuggingJoeView Answer on Stackoverflow
Solution 3 - DebuggingPaul StoryView Answer on Stackoverflow