Click here to Skip to main content
Click here to Skip to main content

Tagged as

Go to top

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

, 25 Nov 2011
Rate this:
Please Sign up or sign in to vote.
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!

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Bangla Gopal Surya Prakash
Software Developer (Senior)
United States United States
B.Tech graduate in CSE, having experience in .Net related Technologies
 
Microsoft Certified Technical Specialist in .NET Framework 2.0
Microsoft Certified Technical Specialist in .NET Framework 4.0
 
My interests are Coding, reading [technical stuff] and listening to music, playing Cricket, Table Tennis
 
http://bgsuryablog.blogspot.com/

Comments and Discussions

 
GeneralReason for my vote of 1 So you got an error message saying w... PinmemberJakub Januszkiewicz30-Nov-11 10:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web02 | 2.8.140921.1 | Last Updated 25 Nov 2011
Article Copyright 2011 by Bangla Gopal Surya Prakash
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid