The default value of ASP. NET is any CPU during compilation, that is, the compiled program can run on x86 and x64 system platforms. If you want your ASP. NET program to run on the x64 system, all you have to do is deploy IIS and modify the configuration.
If you want to run the program in iis32-Bit mode, that is, to run the program in. Net framwork32-Bit mode, perform the following Configuration:
1. cscript % systemdrive % \ Inetpub \ adminscripts \ adsutil. vbs set w3svc/apppools/enable32bitapponwin64 1 modify IIS configuration and allow 32-bit programs to run
2. c: \ windows \ microsoft. Net \ framework \ v2.0.50727 \ aspnet_regiis-I registers ASP. net32 for IIS. After registration, ASP. net2.0. * 32bit is displayed in the Web extension of IIS.
3. Web extensions allow ASP. net2.0. * 32 bit to run. The w3wp32.exe process is running.
Ii. 64-Bit mode
1. cscript % systemdrive % \ Inetpub \ adminscripts \ adsutil. vbs set w3svc/apppools/enable32bitapponwin64 0 is 0 by default. If a 32-bit program is run, you need to reset it to 0.
2. C: \ Windows \ Microsoft. NET \ framework64 \ v2.0.50727 \ aspnet_regiis-I: IIS registers 64 as ASP. NET. IIS registered with 64-bit ASP. NET displays ASP. net2.0. * in the Web extension .*.
3. The web extension allows ASP. net2.0. * to run. The w3wp.exe process is running.