BUG: "ASP.NET Version Mismatch" error message when you open an ASP.NET 1.0 project in Visual Studio .NET 2003 (827074)
The information in this article applies to:
- Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2003), Academic Edition
- Microsoft ASP.NET (included with the .NET Framework 1.1)
SYMPTOMSWhen you use Microsoft Visual Studio .NET 2003 to open a Microsoft ASP.NET
1.0 project on a Web server that is running ASP.NET version 1.1, you may
receive the following "ASP.NET Version Mismatch" error message: Visual Studio .NET has
detected that the Web server is running ASP.NET version 1.0. The Web
application you are creating or opening can be configured to be compliant with
ASP.NET 1.0.
However, the application will not be able to use new
features from ASP.NET 1.1. CAUSEThis problem occurs because the virtual root of the Web
server that is hosting the Web application is configured to use ASP.NET 1.0.WORKAROUNDTo work around this problem, create a Get_aspx_ver.aspx file in the Web application folder that contains the Web.config file. To create the Get_aspx_ver.aspx file for the Web application that you create in the "More Information" section of this article, follow these steps: - Locate the MyWebApp2002 project folder
(located in %Inetpub%\wwwroot).
- In the MyWebApp2002 folder, create a new
text file, and then rename the file
get_aspx_ver.aspx.
- Add the following line of code to the Web.config file:
<location path="get_aspx_ver.aspx" /> - In the Rename dialog box, click
Yes.
- Perform steps 4, 5 and 6 in the "More Information"
section of this article.
Note If you receive a Microsoft Development
Environment dialog box, click OK.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.REFERENCES
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
816782
How to configure different versions of an ASP.NET application running on the same Web server
Modification Type: | Minor | Last Reviewed: | 7/21/2006 |
---|
Keywords: | kbvs2005doesnotapply kbvs2005swept kbpending kbWebServer kbweb kbbug KB827074 kbAudDeveloper |
---|
|