Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

You may receive a "Visual Studio .NET has detected that the specified Web server is not running" error message when you try to create a project or open a previously created project


View products that this article applies to.

Symptoms

When you try to create a project or open a previously created project, you may receive the following error message:
Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web applications or services.

↑ Back to the top


Cause

When you create or open a project in Microsoft Visual Studio .NET 2003, Visual Studio .NET 2003 makes an HTTP Web request to determine the version of the .NET Framework that is on the Web server. Visual Studio .NET 2003 calls the http://servername/get_aspx_ver.aspx page. If you receive the error message, the default Web site is using Forms authentication, and the request is redirected to an .htm page. Therefore, the request for the .aspx page is never made, and Microsoft Internet Information Services (IIS) cannot return the version information.

↑ Back to the top


Resolution

To resolve this problem, use the location tag to stop Forms authentication from redirecting the request. To do this, add the following code to the Web.config file:

<location path="get_aspx_ver.aspx" />

↑ Back to the top


Status

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


Keywords: KB886389, kbasp, kbbug, kbtshoot

↑ Back to the top

Article Info
Article ID : 886389
Revision : 2
Created on : 10/12/2004
Published on : 10/12/2004
Exists online : False
Views : 250