Enable the 32-bit extension of Asp.net 2.0 in a 64-bit environment

Source: Internet
Author: User

The 'Microsoft. Jet. oledb.4.0 'provider is not registered on the local machine.

But there is no such problem on the x32 server where the same software is installed.

Google, mainly because the 64bit class library of Asp.net 2.0 does not have the above components. No way, you have to use the 32bit Asp.net 2.0 to run this program. However, in the IIS6 environment, you cannot enable Asp.net 2.0 of 32bit and 64bit at the same time. There is no other way to do this for the time being.

Specifically, execute two command line programs and enable them from the Web service extension of IIS. The excerpt is as follows:

ASP. NET 2.0, 32-bit

To run the 32-bit version of ASP. NET 2.0, follow these steps:

1. Click Start, click Run, type cmd, and click OK ".

2. type the following command to enable the 32-Bit mode:

Cscript % systemdrive % \ Inetpub \ adminscripts \ adsutil. vbs set w3svc/apppools/enable32bitapponwin64 1

3. type 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

4. Make sure that the status of ASP. NET 2.0.40607 (32-bit) is enabled in the Web Service Extension list of Internet Information Service Manager.

During execution, change v2.0.40607 to the version 2.0 corresponding to your server. For example, when I wrote this article, my computer used v2.0.50727.

To disable the 32-bit version and restore it to the 64-bit Asp.net 2.0 Environment, perform the following steps:

1. Click Start, click Run, type cmd, and click OK ".

2. type the following command to disable the 32-Bit mode:

Cscript % systemdrive % \ Inetpub \ adminscripts \ adsutil. vbs set w3svc/apppools/enable32bitapponwin64 0

3. type the following command to install ASP. NET 2.0 and install script ing in the IIS root directory:

% SystemRoot % \ Microsoft. NET \ framework64 \ aspnet_regiis.exe-I

4. Make sure that the ASP. Net 2.0.40607 status is set to allow in the Web Service Extension list of Internet Information Service Manager.

Microsoft official source: http://support.microsoft.com/kb/894435

 

Related Article

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.