When you want to run 32 bit web applications on a 64bit Windows box, you need to enable IIS to run in 32 bit mode.
By default IIS is set to run in 64 bit.
To check if 32 bit support is enabled, go to command prompt on the IIS box and type the following command
cscript C:\Inetpub\AdminScripts\adsutil.vbs get W3SVC/AppPools/Enable32bitAppOnWin64
Change the path of adsutil.vbs according to your setup
The script will output either True (1) or FALSE(0)
To enable 32 bit support, go to command promtp again and run the following
cscript c:\Inetpub\AdminScripts\adsutil.vbs set W3SVC/AppPools/Enable32bitAppOnWin64
Now that you enabled 32 bit support, you will no longer see ASP.NET tab on your Web application, properties on Internet service manager
To fix that, jus run aspnet_regiis, from command prompt
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe /i
No comments:
Post a Comment