About the 64-bit windows2003 does not register "Microsoft.Jet.OLEDB.4.0" on the local computer

Source: Internet
Author: User
Tags mdb database try catch

Test on your own machine through the Excel import function on the client server is not good to use, checked for a half day later found that the client server is 64-bit win2003!!

The try catch catch problem is: "Microsoft.Jet.OLEDB.4.0" is not registered on the local computer

Generally if 2008 of the server, IIS7 modification support 32-bit programs will be finished, very simple. But this is the IIS6 of 2003! Wood has a direct modification of the place Ah!! Look at me this fire big AH!!

also say   development tool there, in the project "Properties" there,      target platform modified by the original "any CPU" to "x86"     The way I have tried ah, not good use Ah! System operation after the BLL layer of various errors Ah!!

Later with the following method of the first modification finally useful .... TAT inside the cow face has wood has!!!

64-bit WINDOWS2003 system The following error occurred when using the MDB database.

This may be the case with some older programs from office.

The microsoft.jet.oledb.4.0 provider workaround is not registered on the local computer:

ASP. 2.0, 32-bit versionTo run the 32-bit version of ASP. NET 2.0, follow these steps: 1. Click Start, click Run, type cmd, and then click OK.2. Type the following command to enable 32-bit mode:cscript%systemdrive%\inetpub\adminscripts\adsutil.vbs SET W3svc/apppools/enable32bitapponwin64 13. Type the following command to install the ASP. NET 2.0 (32-bit) version and install the script map in the IIS root directory:%systemroot%\microsoft.net\framework\v2.0.50727\aspnet_regiis.exe-i4. Make sure that the status of the ASP. NET version 2.0.40607 (32-bit) is set to allow in the Web service Extensions list of Internet Information Services Manager.
This is if this method is unsuccessful, it can be cut back to 64 bits.
ASP. 2.0, 64-bit version  to run the 64-bit version of ASP. 2.0, follow these steps: 1. Click Start, click Run, type cmd, and then click OK.     2. Type the following command to disable 32-bit mode:   cscript%systemdrive%\inetpub\adminscripts\adsutil.vbs SET w3svc/apppools/enable32bitapponwin64 0     3. Type the following command to install the ASP. NET 2.0 version and install the script map under the IIS root:  %systemroot%\microsoft.net\framework64\v2.0.50727\aspnet_regiis.exe-i     4. Make sure that the status of the ASP. NET version 2.0.40607 is set to allow in the list of Web service extensions in Internet Information Services Manager.     Note: the build of ASP. NET 2.0 may change depending on the current release's internal version. These steps apply to build v2.0.50727.  
if it's a different version of the. Net Framework, change the \v2.0.50727\ for example, 1.1 is \v1.1.4322\.

About 64-bit windows2003 does not register "Microsoft.Jet.OLEDB.4.0" on the local computer

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.