Remapping ASP.NET Runtime Versions in IIS6
Earlier last month I saw someone complain that you could no longer use aspnet_regiis in Windows Server 2003 running IIS6. Having just repaved both my employer's and my personal machine to run WS2K3, and installed VSNET2002 and VSNET2003 SxS, I can gladly say that this is not the case.
I wanted to be running WS2K3 so that I could mimic the configurations that my employer uses at both hosting companies, MaximumASP and OrcsWeb. Truth be told, I like the OrcsWeb setup TONS better than MaxASP, but this is all relatively speaking anyways since I like my own hosting setup the best. Anyways, some of the apps on my machine run off .NET 1.0, and some off .NET 1.1. There is a REAL simple way to remap IIS to which ever one you want on a per-application basis. Simply navigate to:
x:\%WINDIR%\Microsoft.NET\Framework\%FRAMEVER%\
where:
x = your system drive
%WINDIR% = your windows directory
%FRAMEVER% = version of framework you want to map, either v1.0.3705 or v1.1.4322
From there, just type aspnet_regiis -s /w3svc/%IDENTIFIER%, where %IDENTIFIER% is the ID of the Website in IIS6, as seen in this screenshot:
And there you have it. Your app is remapped. Now you can have different sites using different versions of the runtime, without messing with your web.config or publisher policies.