HOWTO: Install and Run ASP.Net 2.0 Side-by-Side

Hmm, this is one of the more unusual questions that I have received lately...

Question:

how do you setup asp.net 2 along side with asp.net 1.1 in Windows 2003/IIS6? do i need sdk or redistributable package?

Answer:

The Redistributable package allows you to run .Net applications. The SDK just contains additional tools (like ILDASM, SN), samples, documentation, etc necessary for a developer to fully develop with .Net.

Since it sounds like you just want to run different versions of ASP.Net side by side, you just need to:

  1. Download the .Net Framework Redistributable Package from: https://msdn.microsoft.com/netframework/downloads/updates/default.aspx
  2. Install it on Windows Server 2003

ASP.Net 2.0 will automatically be set up as the default.

Since you cannot load multiple versions of the CLR into the same process, you cannot run applications of different ASP.Net versions in the same Application Pool. For IIS6 in Worker Process Isolation Mode, this means that you must:

  1. Create different Application Pools, one for ASP.Net 1.1 and another for ASP.Net 2.0
  2. Configure your ASP.Net application to use either Application Pool as appropriate
  3. Configure the IIS Scriptmaps of that application to either point to ASP.Net 1.1 ISAPI or ASP.Net 2.0 ISAPI

ASPNET_REGIIS.EXE of .Net Framework 2.0 has several options that you want to explore concerning versioning of .Net applications and appropriate configuration of IIS Scriptmaps. You probably want to head to https://www.asp.net for more community information, or read this topic on MSDN

//David