Click here to Skip to main content
13,766,769 members
Rate this:
 
Please Sign up or sign in to vote.
I have created a Windows forms application and a setup for it, both with visual studio 2017. The setup works well in the Development machine and the installed application works flawlessly. But when I tried to install the application on another machine the application installed without errors but when I tried to run the installed application this shows the Error: "Microsoft.ACE.OLEDB.12.0 is not registered on local machine"

If I click ignore/continue the application starts but the error message appears again and again whenever I click any button (Login/Signup/Submit) of the application.

What I have tried:

Tried updating the windows on the target computer
Posted 9-Nov-18 19:38pm
Updated 9-Nov-18 22:54pm
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

ACE is the database engine of Access and unless your setup program is aware that it is required and installs the appropriate version (32 or 64 bit) on the target computer correctly then your app will not run. Your dev machine probably has it installed already, so you don't notice it's needed - but if your setup program doesn't check and install it if needed, your app can't be guaranteed to run on other computers.
  Permalink  
Comments
Debsbond008 2 days ago
   
So, How can I make my setup to install Accesses Database Engine first on target comp and then install the application I created?
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

The message is quite clear, the ACE engine is not installed, and is required by your application. See Download Microsoft Access Database Engine 2010 Redistributable from Official Microsoft Download Center[^].
  Permalink  
Comments
Debsbond008 2 days ago
   
Have tried to install AccessDatabaseEngine on traget machine and then run my setup. but problem not solved...
Looks like I cant publish my applications except using it myself. Ha.Ha. I am a Self_Help_Developer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web05-2016 | 2.8.181114.1 | Last Updated 10 Nov 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100