WinForm +access Data connection error is not registered on the local computer "microsoft.jet.oledb.12.0"

Source: Internet
Author: User

Microsoft is not registered on the local computer. Jet . oledb.12.0 "provider.


1. Database connection string:

2007 Database Connection string:

Constr= "Provider=microsoft. Jet. Oledb.12.0;data source=e:\spendingvoucher.accdb; Persist Security Info=false ";

2. An exception occurred: the "microsoft.jet.oledb.12.0" provider was not registered on the local computer.

Download and install the AccessDatabaseEngine.exe and reboot, run or error

check the Internet. for People microsoft.ace.oledb.12.0 , replace microsoft.jet.oledb.12.0 ,

I tried it, it worked! But I don't understand.


So the correct connection string is:

constr= "Provider=microsoft. ACE . Oledb.12.0;data source=e:\spendingvoucher.accdb; Persist Security info=false ";

WinForm +access Data connection error is not registered on the local computer "microsoft.jet.oledb.12.0"

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.