64-bit IIS supports 32-bit Asp.net programs

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.