Access Database Packaging Problem: "Microsoft. Jet. OLEDB.4.0provider does not

Source: Internet
Author: User
In VS2005, I used C # To write a simple program to read the Access database, package, install, and run properly on a 32-bit machine. jet. OLEDB.4.0provider does not register "and" Microsoft. ACE. OLEDB.12.0provider is not registered on the local machine. "The program cannot run. Lower

In VS2005, I used C # To write a simple program to read the Access database, package, install, and run properly on a 32-bit machine. jet. OLEDB.4.0provider does not register "and" Microsoft. ACE. OLEDB.12.0provider is not registered on the local machine. "The program cannot run. Lower

In VS2005, I used C # To write a simple program to read the Access database, package, install, and run properly on a 32-bit machine. jet. OLEDB.4.0provider does not register "and" Microsoft. ACE. OLEDB.12.0provider is not registered on the local machine. "The program cannot run. Here are my solutions:

1. Select project properties-generate-Target Platform, select x86, and run the program to make it take effect.

2. "system required" during packaging. Select the first two items for the required components and the second item for the installation location,

3. start generating the installation package. The installation package contains two folders and two files,

4. Change the IIS attribute of a 64-bit server,

5. Run setup.exe to install the installation package on the 64-bit host.

6. After installing and running the program, the program runs normally without exceptions.

For the causes of exceptions such as dll not registered, refer to the URL:

Bytes.

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.