To resolve this problem, install the 64-bit version of
ASP.NET 2.0 before you install the 32-bit version of ASP.NET 2.0.
Note The information in this article applies only to 64-bit computers
that are running the 32-bit version of ASP.NET 2.0 and IIS in WOW64 mode.
Additionally, the following steps configure the computer to run the 32-bit
version of ASP.NET 2.0 and IIS in WOW64 mode.
To resolve this
problem, follow these steps:
- If you already installed the 32-bit version of ASP.NET 2.0
on the computer, run the following command to uninstall the 32-bit version of
ASP.NET 2.0:
Framework\v2.0.50727\aspnet_regiis -u
- Run the following command to switch IIS to run in native
mode:
cscript DriveLetter:\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32BitAppOnWin64 0
- Run the following command to install the 64-bit version of
ASP.NET 2.0:
Framework64\v2.0.50727\aspnet_regiis -i
- Run the following command to switch IIS to run in WOW64
mode:
cscript DriveLetter:\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32BitAppOnWin64 1
- Run the following command to install the 32-bit version of
ASP.NET 2.0:
Framework\v2.0.50727\aspnet_regiis -i