|
If you have multiple versions of Microsoft .NET Framework on your system, you must designate the
version of .NET Framework to use for your application. You can designate the version by running
the aspnet_regiis.exe tool from the specific framework directory. For example, to run the 1.1 version
of aspnet_regiis, you should be in the following directory:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
To run the 2.0 version of aspnet_regiis, you should be in the following directory:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
Note: As new versions of Microsoft .NET Framework 2.0 get released, the 5-digit build number may change
from 50727 to a higher number.
To designate the Microsoft .NET Framework 2.0 as the default framework for MyApp1:
1. Open a Command Prompt
2. CD C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
3. aspnet_regiis –sn “W3SVC/1/ROOT/MyApp1”
This will designate MyApp1 to run using Microsoft .NET Framework 2.0.
To switch back to Microsoft .NET Framework 1.1:
1. Open a Command Prompt
2. CD C:\WINDOWS\Microsoft.NET\Framework\ v1.1.4322
3. aspnet_regiis –sn “W3SVC/1/ROOT/MyApp1”
Please also review the online help on
Running Multiple Versions of Microsoft .NET Framework.
|