The "microsoft.ace.oledb.12.0" provider is not registered on the local computer

Source: Internet
Author: User

An error occurred while running, prompting that the "microsoft.ace.oledb.12.0" provider was not registered on the local computer.

The reason for this is that the 32-bit version of Office is installed on a 64-bit PC, so microsoft.ace.oledb.12.0 is also 32-bit, while Visual Studio is 64-bit, and the default build is a 64-bit program.

Workaround one: Download the 64-bit Microsoft Access 2010 Database engine.

http://www.microsoft.com/zh-cn/download/details.aspx?id=13255

When installing, be careful to uninstall the 32-bit version of Office that may already be installed

Workaround two: In the project properties of Visual Studio, change the build's platform target from any CPU to x86, so that the build is a 32-bit program.

The "microsoft.ace.oledb.12.0" provider is not registered on the local computer

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.