[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 346
  • Last Modified:

Access Visual Basic Application

I'm creating an application using Visual Basic 2013 and Access 2013.  When I try running the application in the Visual Studio IDE  I get an error:

The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.

How do I fix this???
0
Ray Turner
Asked:
Ray Turner
  • 2
1 Solution
 
Ray TurnerSenior ConsultantAuthor Commented:
That did not work.  Got the same error message.
0
 
Jacques Bourgeois (James Burger)Commented:
In the Compile tab of the project's Properties window, set the Target CPU to x86.
0
 
Ray TurnerSenior ConsultantAuthor Commented:
Finally got it to work.  Simply installing the AccessDatabaseEngine_x64.exe did not work.  I had to launch Excel 2013 and perform an import from Access database (accdb) to register the dll.  Now it is working fine.  I'm not sure if this was the best way; however,  it worked.

I wonder if there is a way to automatically register the dll?
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now