You receive an error message when you try to create a Visual Studio 2005 ASP.NET project on a Windows Vista-based computer

Article translations Article translations
Article ID: 936857 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

When you try to create an ASP.NET project in Microsoft Visual Studio 2005 on a Microsoft Windows Vista-based computer, you receive an error message that resembles one of the following:

Error message 1
Unable to open the Web 'http://localhost/project name'. The Web server does not appear to have the FrontPage server extensions installed.
Error message 2
You must be a member of the Administrators group on the local computer to access the IIS metabase. Therefore, you cannot create or open a local IIS Web site. If you have Read, Write, and Modify permissions for the folder where the files are located, you can create a file system Web site that points to the folder in order to edit the files.
This problem occurs if both Internet Information Services (IIS) 7.0 and Visual Studio 2005 are installed.

CAUSE

This problem occurs because Visual Studio 2005 cannot access IIS.

RESOLUTION

To resolve this problem, follow these steps:
  1. Install the IIS metabase and the IIS 6.0 configuration compatibility feature. To do this, follow these steps:
    1. Click Start, type control panel in the Start Search box, and then click Control Panel in the Programs list.
    2. Click Programs, and then click Turn Windows features on or off.
    3. Expand Internet Information Services, expand Web Management Tools, and then expand IIS 6 Management Compatibility.
    4. Click to select the IIS Metabase and IIS 6 configuration compatibility check box, and then click OK.
  2. Run Visual Studio 2005 as an administrator. To run Visual Studio 2005 as an administrator, click Start, click Microsoft Visual Studio 2005, right-click Microsoft Visual Studio 2005, and then click Run as administrator.

MORE INFORMATION

You receive an error message that resembles the following when you type a URL in the Location box in the Web Site dialog box:
Unable to open the Web 'http://localhost/project name'. The Web server does not appear to have the FrontPage server extensions installed.
Because Visual Studio 2005 cannot access the IIS metabase directly, Visual Studio 2005 tries to use the FrontPage Server Extensions to access the IIS metabase.

You receive an error message that resembles the following when you click Browse and then you click Local IIS in the Choose Location dialog box:
You must be a member of the Administrators group on the local computer to access the IIS metabase. Therefore, you cannot create or open a local IIS Web site. If you have Read, Write, and Modify permissions for the folder where the files are located, you can create a file system Web site that points to the folder in order to edit the files.
In this instance, Visual Studio 2005 cannot access the IIS metabase directly. However, Visual Studio 2005 does not try to use the FrontPage Server Extensions to access the IIS metabase. Therefore, the error message does not include a reference to the FrontPage Server Extensions.

Enable debugging on the IIS Web site

To enable debugging on the IIS Web site, follow these steps:
  1. Install the Windows Authentication feature. To do this, follow these steps:
    1. Click Start, type control panel in the Start Search box, and then click Control Panel in the Programs list.
    2. Click Programs, and then click Turn Windows features on or off.
    3. Expand Internet Information Services, expand World Wide Web Services, and then expand Security.
    4. Click to select the Windows Authentication check box, and then click OK.
  2. Enable Windows Authentication in IIS. To do this, follow these steps:
    1. Click Start, type IIS in the Start Search box, and then click IIS Manager in the Programs list.
    2. Expand the computer name that you want, expand Web Sites, click to select the Web site that you want, and then double-click Authentication.
    3. Right-click Windows Authentication, and then click Enable.

Steps to reproduce the problem

  1. On a Windows Vista-based computer, install IIS 7.0 with the default options.
  2. Install Visual Studio 2005.
  3. In Visual Studio 2005, click File, click New, and then click Web Site.
  4. Type http://localhost/test in the Location box, and then click OK.

Properties

Article ID: 936857 - Last Review: December 3, 2007 - Revision: 1.2
APPLIES TO
  • Microsoft .NET Framework 2.0
  • Microsoft Internet Information Services 7.0
Keywords: 
kbtshoot kberrmsg kbprb KB936857

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com