Monday, April 25, 2011 Tab Missing in IIS 6 on 64-bit Windows

We are switching our main website over to Sitecore CMS 6.4 which uses 4.0. Problem is that our development server is Windows 2003 x64, and is setup to use IIS in 32-bit mode. Apparently there is a bug (MS will call it a feature) which hides the ASP.NET tab in IIS when you have this particular configuration.

So long story short, to switch my individual site over to 4.0 I had to use aspnet_regiis to manually set the framework version for that one site. Here's how:

  1. First we have to find the website iis path. Go into IIS, under the website properties under the "Website" tab there is the Logging section. Click on and right click on the "Properties" button. This will bring up the "Logging Properties" dialog which lists the name of the website at the bottom next to "Log file name" eg. W3SVCXXXX. Make a note of this.
  2. Open a command prompt to the c:\windows\\Framework\v4.0.30319\ folder of your choice. (v2.x, or v4.x)
  3. Run aspnet_regiis -lk (that's -LK) this will list the websites and their paths and what version they are running. Use the name you found in step 1 to get the full path.
  4. Run aspnet_regiis -s PATH, e.g. aspnet_regiis -s W3SVC/123456789/root/ where PATH is the path you found in step 3.

That's it, hope this helps you.