Unable to create the virtual directory. To access local IIS Web sites, you must install the following IIS components

Posted: September 25, 2011 in IIS7
Tags: , ,

I recently reimaged my machine & after that yesterday when i tried creating a Virtual directory it ran into below exception : Unable to create the virtual directory.To access local IIS Web sites, you must install the following IIS components: IIS 6 Metabase and IIS 6 Configuration Compatibility

You need to follow the below steps to get this resolved:

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.

Hope this helps 🙂

Advertisements
Comments
  1. Hemanth says:

    Yes,it really helped me. Thanks 🙂

  2. Anupama says:

    welcome!Glad to hear that it helped.

  3. B. Ryan B. says:

    Thanks! Helped solve error encountered during the “Creating the Web Site” > “Select Local IIS” step on this page from Windows 7: http://msdn.microsoft.com/en-us/library/879kf95c(v=vs.90).aspx

  4. vijay bhargav says:

    thanks for the help. 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s