You can run the following two commands:
1. Register 64-bit. NET on IIS.
cscript C:\inetpub\adminscripts\adsutil.vbs SET W3svc/apppools/enable32bitapponwin64 0
And
C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\aspnet_regiis.exe-i
2. Register 32-bit. NET:
Do not need to uninstall 32 bits, the registration command is the above command. The system defaults to a 64-bit system, but since most client programs are developed under 32-bit. NET, IIS's. NET is registered as a 32-bit version by default, which is easy for customers to use. If you run the above command successfully, you need to run
cscript C:\inetpub\adminscripts\adsutil.vbs SET W3svc/apppools/enable32bitapponwin64 1
And
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe-i
Re-register 32-bit. NET in IIS to prevent 32-bit programs from running under 64-bit. NET. You can install successfully in the default environment.