The operating environment of IIS6 is changed, and the system is still 64-bit.
Unlike iis7, IIS6 enables 32-bit applications on 64-bit SystemsProgramIs a global setting that affects all sites on IIS6. If some sites must run in 64-Bit mode, iis7 is required.
1. There is no explicit configuration interface in IIS6. Use the following command line to enable the configuration.
Cscript.exe % systemdrive % \ Inetpub \ adminscripts \ adsutil. vbs set w3svc/apppools/enable32bitapponwin64 1 iisreset
* If you change the last 1 to 0, the configuration is disabled.
2. After the command is successfully executed, a new option is displayed in IIS: Web Service extension. Click expand to enable settings in the option on the right.
* If there are not enough options on the right side, you can try Step 1 first.
3. Register a 32-bit framework
% SystemRoot % \ microsoft. Net \ framework \ v2.0.50727 \ aspnet_regiis.exe-I-enable
Iisreset
* Changing the last-I to-u indicates the upload. You can upload 64-bit 4 before performing the registration. after the site is rebuilt, you will find that all the filters point to the 32-bit framework.