Thursday, June 09, 2005
asp.net execution
asp.net application can be configured for an ASP.NET version (also called side-by-side execution).
go to ASP.NET application properties in IIS manager to understand current script map for an application,
Directory->Configuration->ApplicationConfiguration->Mappings tab.
go to correct .NET framework folder and run Aspnet_regiis.exe to update the script map for an ASP.NET application.
Aspnet_regiis.exe -s W3SVC/1/ROOT/SampleApp1
---
if you want an application built with one version of the .NET Framework to execute on one or more different versions of the .NET Framework, then you must use an appropriate configuration file MyApp.exe.config
The following example redirects an application built with the .NET Framework version 1.0 to execute on version 1.1.
In the following example, the .NET Framework version 1.1 is preferred, but if that version is not available version 1.0 is used.
go to ASP.NET application properties in IIS manager to understand current script map for an application,
Directory->Configuration->ApplicationConfiguration->Mappings tab.
go to correct .NET framework folder and run Aspnet_regiis.exe to update the script map for an ASP.NET application.
Aspnet_regiis.exe -s W3SVC/1/ROOT/SampleApp1
---
if you want an application built with one version of the .NET Framework to execute on one or more different versions of the .NET Framework, then you must use an appropriate configuration file MyApp.exe.config
The following example redirects an application built with the .NET Framework version 1.0 to execute on version 1.1.
In the following example, the .NET Framework version 1.1 is preferred, but if that version is not available version 1.0 is used.
