Surya Prakash

Surya Prakash

  • NA
  • 1.7k
  • 1.2m

Error: Unable to open the Web site ‘http://localhost/’. To access local IIS Web sites, you must install the following IIS components

Nov 25 2011 10:24 AM
I was trying to set up one of my solution in IIS 7, Window 7 & was ended up with the below issue.
 
—————————
 
Microsoft Visual Studio
 
—————————
 
Unable to open the Web site 'http://localhost/'. To access local IIS Web sites, you must install the following IIS components:
 
IIS 6 Metabase and IIS 6 Configuration Compatibility
 
In addition, you must run Visual Studio in the context of an administrator account.
 
For more information, press F1.
 
—————————
 
OK Help 
 
—————————
 
To fix this issue I had to run through the below steps
 
1. Click Start, and then click Control Panel.
 
2. Click Programs and Features.
 
3. Click Turn Windows features on or off.
 
4. In the dialog box, expand Internet Information Services.
 
5. Expand Web Management Tools, and then expand IIS 6 Management Compatibility.
 
6. Click to select the IIS Metabase and IIS 6 configuration compatibility check box, and then click OK.
 
Happy Kooding… Hope this helps!

Answers (1)