Article ID: 825792 - Last Review: November 14, 2003 - Revision: 1.4 PRB: "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
On This PageSYMPTOMSIn the customErrors section of the Web.config file that exists in the root directory
of the Default Web Site Web site that is set in Microsoft Internet
Information Services (IIS), when you set the defaultRedirect attribute to an HTML file or to an
Active Server Page (ASP) file and the Mode attribute to On, and then you try to open a
new Microsoft ASP.NET Web Application project by using Microsoft Visual Studio .NET 2003,
you 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. CAUSEWhen you try to open an ASP.NET Web Application project, the
ASP.NET process accesses a nonexistent file that is named Get_aspx_ver.aspx
to retrieve the ASP.NET version information. If the defaultRedirect attribute
is not set to an HTML file or to an ASP file, the request for the
Get_aspx_ver.aspx file returns the HTTP 404 error
and the ASP.NET version information. If the defaultRedirect attribute is
set to an HTML file or to an ASP file, the request for the Get_aspx_ver.aspx
file does not return the ASP.NET version information. Therefore, you receive
the error that is mentioned in the "Symptoms" section of this article. WORKAROUNDTo work around this problem, follow these steps:
STATUS This
behavior is by design. MORE INFORMATIONSteps to Reproduce the Behavior
REFERENCES
For additional information about the customErrors section in the Web.config
file, click the following article number to view the article in the Microsoft Knowledge Base:
306355
(http://support.microsoft.com/kb/306355/
)
HOW TO: Create Custom Error
Reporting Pages in ASP.NET by Using Visual C# .NET
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
