I. 32-Bit mode
1. cscript % systemdrive % \ Inetpub \ adminscripts \ adsutil. vbs set w3svc/apppools/enable32bitapponwin64 1
First, execute the above statement in the command prompt (CMD) to modify the IIS configuration, allowing 32-bit program running
2. C: \ Windows \ Microsoft. NET \ framework \ v2.0.50727 \ aspnet_regiis-I
Then, run the preceding statement in the command prompt (CMD): Register ASP. net32 for IIS. After registration, ASP. net2.0. * 32bit is displayed in the Web extension of IIS.
3. Finally, you must allow ASP. net2.0. * 32bit to run in the Web service extension of IIS. The w3wp32.exe process is running.
Ii. 64-Bit mode
1. cscript % systemdrive % \ Inetpub \ adminscripts \ adsutil. vbs set w3svc/apppools/enable32bitapponwin64 0
The default value of this project is 0. If a 32-bit program is run, set it to 0 again.
2. C: \ Windows \ Microsoft. NET \ framework64 \ v2.0.50727 \ aspnet_regiis-I
Register 64 for IIS as ASP. NET. IIS registered with 64-bit ASP. NET displays ASP. net2.0. * in the Web extension .*.
3. Finally, you must allow ASP. net2.0. * to run in the Web service extension of IIS. The w3wp.exe process is running.
Iis32-bit switch in 64-Bit mode