SAF(NET) = STEPHEN A. FUQUA operating on the Web since 1995

Stephen is a web developer, Bahá'í, and interfaith activist in St. Paul, Minnesota. He likes to write about religion, social justice, sustainability, science, programming, &c.

June 21, 2007

Running Both .Net 1.1 and 2.0 in Windows 2003 Server 64 Bit Edition

Problem: Microsoft .Net Framework 1.1 and .Net Framework 2.0 don't play well together (as ASP.Net apps) on Windows 2003 Server 64 Bit Edition.

Solution: either upgrade any ASP.Net 1.1 to 2.0 or switch to 32 bit compatibility mode. Of course switching to 32 bit mode will cause you to lose out on some performance benefits, but maybe you're okay with that (unless you're running under a very high load). Two easy steps:

  1. Per http://support.microsoft.com/kb/894435, set IIS to 32 bit compability mode, and re-installed (with aspnet_regiis.exe) both versions in all sites.
  2. Once this is done you can't get the ASP.Net tab back in IIS properties. To manually install the proper ASP.Net version in a particular app (i.e. /MyApp): in cmd line, under appropriate version in c:\windows\Microsoft.Net\Framework\{version}, type aspnet_regiis.exe -sn W3SVC/1/Root/MyApp.

Hat tip to Egil Hogholt for the aspnet_regiis -sn suggestion.

Comments

Post a comment

Remember personal info?




deprecated

On safnet.com

Other sites managed or developed by S.A.F.

S.A.F. elsewhere on the web

  • LinkedIn
    LinkedIn can actually be useful when looking for prospective hires and business or organizational partners
  • GoodReads
    A fun and relatively-unknown social networking site geared towards one's book list
  • Live Journal
    Mirror of the blog at safnet.com, so that a few LJ friends can more easily read and comment there