x64 question about 32 bit apps RRS feed

  • Question

  • User-1222164807 posted

    We have a x64 Windows 2003 box that is currently running IIS 32-bit mode. We did that because we had intended to run .net 1.1 apps as well as .net 2.

    We've made the decision to only run .net 2.0 apps on that box, so know I have thought about fixing the IIS back to the default installation. I've read in a few places even the default IIS will run in WOW mode if the apps are 32 bit. All of our apps are 32 bit.

     Currently, our web service Extensions look like this:
    ASP .NET 2.0.50727 Prohibited
    ASP .NET 2.0.50727 (32-bit) Allowed

    The ASP .NET State Service path is under the Framework64 folder.

     I know about the following links:

     What are my options for giving my apps the best performance?

    Monday, September 8, 2008 10:50 AM

All replies

  • User1632528892 posted


    If you intend to only run .Net 2.0 apps on your server then your best bet is to run IIS as a 64-bit application. To do this run the following command :

    cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 0

    There's no benefit from running .Net 2.0 apps in 32-bit mode on a 64-bit server from a performance point of view.


    Monday, September 8, 2008 2:10 PM
  • User-1222164807 posted

    Thanks Paul. So there's only one step involved? No server reboot or App Pool recycled?

    Monday, September 8, 2008 2:16 PM
  • User844605415 posted

    Since Enable32bitAppOnWin64 is a global setting on IIS6 you will need to do a iisreset. You might have already figured this out but you will also need to enable the 64-bit ASP.Net web service extension.

    Mukhtar Desai
    IIS Performance Team

    Monday, September 8, 2008 4:08 PM
  • User-1222164807 posted

     i figured I might have to, and disable the 32 bit?

    Monday, September 8, 2008 4:34 PM
  • User1632528892 posted

    You can do if you prefer. It doesn't really make any difference because the 32-bit extension won't be called whilst IIS is running in 64-bit mode.


    Tuesday, September 9, 2008 8:20 AM