"The specified Web server is not running ASP.NET version 1.1" error message when you create an ASP.NET 1.1 application and you have both ASP.NET 1.1 and ASP.NET 1.0 installed (817267)



The information in this article applies to:

  • Microsoft ASP.NET (included with the .NET Framework) 1.0
  • Microsoft ASP.NET (included with the .NET Framework 1.1)
  • Microsoft Windows Server 2003, Standard Edition
  • Microsoft Windows Server 2003, Enterprise Edition
  • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
  • Microsoft Windows Server 2003, Datacenter Edition
  • Microsoft Windows Server 2003, Web Edition
  • Microsoft Internet Information Services version 6.0

SYMPTOMS

Microsoft Visual Studio .NET 2003 cannot open an existing ASP.NET 1.1 Web project under the following circumstances:
  • You set ASP.NET 1.1 to Prohibited in the Web Service Extension list.

    -and-
  • You set ASP.NET 1.0 to Allowed in the Web Service Extension list.

    -and-
  • The computer is running Microsoft Windows Server 2003.
When you try to create a new ASP.NET 1.1 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.
If both ASP.NET 1.1 and ASP.NET 1.0 are set to Prohibited in the Web Service Extension list, you may receive the following error message when you try to open a new ASP.NET 1.1 project in Visual Studio .NET 2003:
Visual Studio .NET has detected that ASP.NET applications and services are locked down in IIS. You can run the IIS Security Lockdown Wizard to change lockdown status
Note By default, when you install Microsoft .NET Framework 1.0, ASP.NET 1.0 is not added to the Web Service Extension list in Microsoft Internet Information Services (IIS) 6.0.

RESOLUTION

To resolve this problem, change the status of ASP.NET 1.1 to Allowed in the Web Service Extension list in IIS 6.0. To do this, follow these steps:
  1. Click Start, point to Programs, and then click Control Panel.
  2. Double-click Administrative Tools, and then double-click Internet Information Services (IIS).
  3. Click Web Service Extensions.
  4. In the details pane, click ASP.NET v1.1.4322 in the Web Service Extension list.
  5. Click Allowed to change the status from Prohibited to Allowed.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to reproduce the behavior

  1. Click Start, point to Programs, and then click Control Panel.
  2. Double-click Administrative Tools, and then double-click Internet Information Services (IIS).
  3. Click Web Service Extensions.
  4. In the details pane, click ASP.NET v1.1.4322 in the Web Service Extension list.
  5. Click Prohibited to change the status from Allowed to Prohibited.
  6. Verify that the status of ASP.NET v1.0.3705 is Allowed.

    Note If ASP.NET v1.0.3705 is not listed in Web Service Extension list, use the Add a new Web Service Extension option in the Web Service Extension pane to register ASP.NET v1.0.3705, and then change the status to Allowed.
  7. Click Start, point to Programs, and then click Microsoft Visual Studio .NET 2003.
  8. On the File menu, point to New, and then click Project.
  9. In the New Project dialog box, click Visual C# Projects or Visual Basic Projects under Project Types.
  10. Under Templates, click ASP.NET Web Application. You receive the error message that is listed in the "Symptoms" section of this article.

REFERENCES

For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:

812405 ASP.NET 1.0 does not appear in the Web Service Extension list in IIS 6.0

816783 ASP.NET applications experience unexpected behavior after upgrade

825792 "Not running ASP.NET version 1.1" error message when you try to open an ASP.NET Web Application project in Visual Studio .NET 2003

893665 Creating and opening ASP.NET projects in Visual Studio .NET

For more information, visit the following Microsoft Web sites:

Configuring an ASP.NET application for an ASP.NET version
http://msdn.microsoft.com/library/en-us/cpguide/html/cpconconfiguringaspnetapplicationforaspnetversion.asp

Versioning, compatibility, and side-by-side execution in the .NET Framework
http://msdn.microsoft.com/netframework/technologyinfo/versioncomparison/default.aspx


Modification Type:MinorLast Reviewed:6/2/2006
Keywords:kbWebServices kbExtension kbDeployment kbWebServer kbweb kbprb KB817267 kbAudDeveloper