Tuesday, July 10, 2012

framework 2.0 on x64, 32-bit on 64-bit windows

Thanks for that link Ravi.  That is correct.  In the future we should change the solutions so that they come out the box as 32bit only.
Another thing you can do is set your system so that it uses the 32bit CLR by-default.  You can do this by calling:
C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Ldr64.exe setwow
If you're doing this from a Vista box, make sure you run this from an Administrator command prompt.
Thanks,


To enable IIS 6.0 to run 32-bit applications on 64-bit Windows
  1. Open a command prompt and navigate to the %systemdrive%\Inetpub\AdminScripts directory.
  2. Type the following command:
    cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 “true”
  3. Press ENTER.