Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Updated 9-Nov-18 21:54pm

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.
 
Share this answer
 
Comments
Debsbond008 13-Nov-18 23:58pm    
So, How can I make my setup to install Accesses Database Engine first on target comp and then install the application I created?
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[^].
 
Share this answer
 
Comments
Debsbond008 14-Nov-18 0:03am    
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900