Enter two lines to convert IIS to 32-bit
ASP. NET 1.1, 32-bit
To run the 32-bit version of ASP. NET 1.1, follow these steps:
- Click Start, click Run, and typeCMDAnd then click OK ".
- Run the following command to enable the 32-Bit mode:Cscript % systemdrive % \ Inetpub \ adminscripts \ adsutil. vbs set w3svc/apppools/enable32bitapponwin64 1
- Run the following command to install ASP. NET 1.1 and install script ing in the IIS root directory:% SystemRoot % \ Microsoft. NET \ framework \ v1.1.4322 \ aspnet_regiis.exe-I
- Make sure that the status of ASP. NET version 1.1.4322 is setAllow.
ASP. NET 2.0, 32-bit
To run the 32-bit version of ASP. NET 2.0, follow these steps:
- Click Start, click Run, and typeCMDAnd then click OK ".
- Run the following command to enable the 32-Bit mode:Cscript % systemdrive % \ Inetpub \ adminscripts \ adsutil. vbs set w3svc/apppools/enable32bitapponwin64 1
- Run the following command to install ASP. NET 2.0 (32-bit) and install script ing in the IIS root directory:% SystemRoot % \ Microsoft. NET \ framework \ v2.0.40607 \ aspnet_regiis.exe-I
- Make sure that the status of ASP. NET 2.0.40607 (32-bit) is setAllow.
ASP. NET 2.0, 64-bit
To run the 64-bit version of ASP. NET 2.0, follow these steps:
- Click Start, click Run, and typeCMDAnd then click OK ".
- Run the following command to disable the 32-Bit mode:Cscript % systemdrive % \ Inetpub \ adminscripts \ adsutil. vbs set w3svc/apppools/enable32bitapponwin64 0
- Run the following command to install ASP. NET 2.0 and install script ing in the IIS root directory:% SystemRoot % \ Microsoft. NET \ framework64 \ v2.0.40607 \ aspnet_regiis.exe-I
- Make sure that the status of ASP. NET 2.0.40607 is setAllow.
Note:: The internal version of ASP. NET 2.0 may change with the internal version of the current release. These steps apply to the internal version 2.0.40607.
Http://support.microsoft.com/kb/894435
Question 2: x32ProgramAccess x64oracle
Deploy a 32-bit ASP program on Windows x64 platform and connect to Oracle 10 Gb Database
32-bit ASP program installation on x64 platform and several problem records connecting to Oracle 10 Gb database
the application components of the business system are still running on a 32-bit Windows platform, the back-end database Oracle 10 Gb has been running on the 64-bit platform. The hardware configuration of the new server is very high, and it is a waste of resources to install a 32-bit windows.
IIS6 on Windows 2003x64 R2 supports running ASP programs in 32-Bit mode. You only need to run the command to enable this mode.
cmd> cscript.exe % systemdrive % \ Inetpub \ adminscripts \ adsutil. vbs set w3svc/apppools/enable32bitapponwin64 1
in this way, ASP applications can be deployed like 32-bit platforms, the 32-bit ASP application is running in the wow64 simulation environment.
However, In this mode, 32-bit applications need to pay attention to accessing the Oracle 10g Database, after many experiments, the results are summarized as follows:
32-bit applications on the x64 platform can only install 32-bit Oracle 10g or other 32-bit clients to access the Oracle 10g Database, if the server is installed on the local machine, only 32-bit Oracle 10g servers can be installed.
two reasons: first, the registry of the 32-bit application is redirected to the wow6432node node, therefore, 32-bit applications cannot access the Registry content of 64-bit Oracle clients or servers. Secondly, on the x64 platform, 32-bit processes cannot load 64-bit DLL, and 64-bit processes cannot load 32-bit DLL. That is to say, even if the information of the 64-bit Oracle client or server can be found from the registry, but it still cannot be loaded, it cannot be connected for access.
If you access the Oracle service between two machines, there is almost no restriction. The clients and servers on both sides can cross heterogeneous platforms, because TCP is naturally cross-platform.