Wednesday, May 15, 2013

Install MOSS 2007 on IIS fails because of 32 bit emulation

This occurred on a x64 Windows 2008 R2/SQL 2008 R2 box running 32 bit emulation to support
some older asp.net apps on IIS 7.0.  The MOSS installer failed saying it could not proceed due to
the fact that IIS was running with 32 bit emulation.

Had to jog my memory on how to set and reset the emulation since once MOSS was installed needed to restore 32 emulation. (http://sakafi.wordpress.com/2009/10/19/asp-net-iis-and-32-bit-emulation-mode-in-64-bit-server/)


ASP.NET , IIS and 32 bit emulation mode in 64 bit server

  1. Click Start, click Run, type cmd, and then click OK.
  2. Type the following command to disable the 32-bit mode:
    cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 0
  3. iisreset
  4. Install MOSS 2007
  5. Reboot
  6. Type the following command to disable the 32-bit mode:
    cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
  7. iisreset
     
Ref : http://support.microsoft.com/kb/894435

No comments:

Post a Comment