P.Monte
P.Monte

Reputation: 21

C# to ms access database

I got an shown in the below image on my connection between my ms access database and my c# windows form application,error says that

"The 'Microsoft.ACE.OLDB.12.0' is not registered to local machine"

visual studio2015 and ms access2016 i'm an amateur

enter image description here

Upvotes: 2

Views: 150

Answers (2)

Jon Dysinger
Jon Dysinger

Reputation: 191

Having recently dealt with this myself, I believe you need the Microsoft Access Database Engine 2010 Redistributable https://www.microsoft.com/en-us/download/details.aspx?id=13255

You have two options:

  1. 32-bit version (AccessDatabaseEngine.exe)
  2. 64-bit version (AccessDatabaseEngine_x64.exe)

You cannot install both at once. If you are targeting for the x86 platform, install the 32-bit version. If you are targeting for the x64 platform or AnyCPU, install the 64-bit version.

Upvotes: 2

Abhilash R Vankayala
Abhilash R Vankayala

Reputation: 693

Have you installed office 2016 data connectivity components? If not please install the same. You could get more details on the below links

Stack Overflow link

Upvotes: 0

Related Questions