Run IIS in 32-bit mode on a 64 bit machine

To configure ASP.NET to run in 32 bit mode on a 64 bit server.

On IIS6, open a command prompt and type following command and press ENTER.

cscript //nologo %SYSTEMDRIVE%\InetPub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1

On IIS7/7.5, open a command prompt and type following command and press ENTER.

apppool /apppool.name:MyAppPool32bit /enable32BitAppOnWin64:true

You can set the same in IIS 7 Manager UI by opening the ‘Advanced Settings’ for the app pool and change Change the Enable 32-bit Applications to True

Enable 32 bit applications in IIS 7

3 thoughts on “Run IIS in 32-bit mode on a 64 bit machine

  1. Pingback: Configuring and Troubleshooting Internet Information Services in Windows Server 2008 Highlights « Fire Me Up

  2. Kumuduni

    Thanks this works after making mark the application pool with “Enable 32-bit applications” = true.
    when the hosted server is on 64bit

    Reply

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>