Help and Support
 

powered byLive Search

PRB: ASP.NET Applications Experience Unexpected Behavior After Upgrade

Article ID:816783
Last Review:January 15, 2007
Revision:5.4

SYMPTOMS

After you install the .NET Framework version 1.1 or Microsoft Visual Studio .NET 2003 on a computer that has version 1.0 of the .NET Framework installed, your existing ASP.NET version 1.0 applications may not behave as expected.

Back to the top

CAUSE

When version 1.1 of the .NET Framework is installed on a computer, the script mappings in Microsoft Internet Information Services (IIS) for ASP.NET are updated to point to the 1.1 version of the ASP.NET ISAPI filters. The path of these filters is the following:
Windows Folder\Microsoft.NET\Framework\V1.1.4322\Aspnet_isapi.dll
The path of the version 1.0 filters is the following:
Windows Folder\Microsoft.NET\Framework\V1.0.3705\Aspnet_isapi.dll
The ASP.NET ISAPI is updated automatically when you install version 1.1 of the .NET Framework, regardless of whether version 1.0 of the .NET Framework is already installed on the computer.

Version 1.1 of the .NET Framework is also installed during the Setup process for Visual Studio .NET 2003, as part of the prerequisites. Therefore, the IIS script mappings are also updated when you install Visual Studio .NET 2003.

Back to the top

RESOLUTION

To install version 1.1 of the .NET Framework redistributable without updating the script mappings in IIS, use the NOASPUPGRADE flag when you install Dotnetfx.exe version 1.1. To do this, follow these steps:
1.Click Start, and then click Run. In the Open text box, type cmd, and then click OK.
2.At the command prompt, locate the path of Dotnetfx.exe.
3.Type the following command to run Dotnetfx.exe, and then press ENTER:
dotnetfx.exe /c:"install /noaspupgrade"
To download the .NET Framework redistributable package, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/netframework/aa731542.aspx (http://msdn2.microsoft.com/en-us/netframework/aa731542.aspx)
Note You cannot avoid updating script mappings in IIS to version 1.1 of the ASP.NET ISAPI when you install the .NET Framework 1.1 during the Visual Studio .NET 2003 Setup process.

Back to the top

STATUS

This behavior is by design.

Back to the top

MORE INFORMATION

If you cannot run your ASP 1.0 Web application on ASP 1.1, reconfigure the ASP 1.0 application on the Web server. To do this, follow these steps:
1.Click Start, and then click Run. In the Open text box, type cmd, and then click OK.
2.At the command prompt, locate the following path:
Windows Folder\Microsoft.NET\Framework\v1.1.4322\
3.Type the following command to remove ASP.NET 1.1 in IIS:
aspnet_regiis -u
4.At the command prompt, locate the following path:
Windows Folder\Microsoft.NET\Framework\v1.0.3705\
5.Type the following command to install ASP.NET 1.0 in IIS:
aspnet_regiis -i

Back to the top

REFERENCES

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
816782 (http://support.microsoft.com/kb/816782/EN-US/) HOW TO: Configure Different Versions of ASP.NET Application Running on the Same Web Server
For more information, visit the following Microsoft Web Site:
http://msdn2.microsoft.com/en-us/netframework/aa497340.aspx (http://msdn2.microsoft.com/en-us/netframework/aa497340.aspx)

Back to the top


APPLIES TO
Microsoft ASP.NET 1.1
Microsoft ASP.NET 1.0

Back to the top

Keywords: 
kbdeployment kbconfig kbwebserver kbprb KB816783

Back to the top

Article Translations

 

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.