Monday, February 05, 2007

MOSS Install : 32 bit emulation mode in IIS

If you are running the MOSS installer (or WSS v3 for that matter) on a x64 machine with Windows 2003 64bit installed and you get an error that sounds like 'IIS in running 32-bit emulation mode, please fix this error to continue' you must run the following script from the command line : CScript "%SystemDrive%\InetPub\AdminScripts\adsutil.vbs" set w3svc/AppPools/Enable32bitAppOnWin64 1 And do an IISRESET after that! Thanks to Adrian Hamza!

8 comments:

vkb said...

The value should be "0" for MOSS to install.

http://support.microsoft.com/default.aspx/kb/905854.

"The value "1" for Enable32bitAppOnWin64 specifies 32-bit mode. The value "0" specifies 64-bit mode."

Any idea how you can get MOSS to install on a x64 system that is already running SPS2003 w/ IIS in 32-bit mode?? MOSS would need to be installed on this system to complete the gradual upgrade process.

Robin said...

I think you can't unfortunatly. I had the same problem with a webapplication that forced IIS in 32bits emulation mode each time we installed it (although it stated that would work on 64bit's IIS).

Unless it is possible to run multiple instances of IIS it could be possible.

jeremy said...

thank you!

davidwilk said...

Thanks for posting!!! This helped.

Tejesh Patel said...

Is There any downside of switching away from 32bitemulationmode?

ClovenLife said...

Where do I get this script.. I have IIS 7 and there is no scripts in the folder you specified

sayed said...

VKB was correct, I ran the below comment and the MOSS installations worked for me.
CScript "%SystemDrive%\InetPub\AdminScripts\adsutil.vbs" set w3svc/AppPools/Enable32bitAppOnWin64 0

Anonymous said...

Thanks, would not have figure that out.