How to add Microsoft.ACE.OLEDB.12. 0 to my app’s installer . NET?

Asked

Viewed 2,127 times

4

Hi, I have an app that I programmed through Visual Studio 2017 using the Microsoft.ACE.OLEDB.12.0 to consult on files Excel and return data.

Now that I finished the project I had to publish. But when installing the application on a machine that does not have the Microsoft.ACE.OLEDB.12.0 installed, the application gives a connection error and does not perform the tasks properly.

So I’m wondering of any solution for this, some way to include this package in the application installer, or other way to fix the issue.

PS.: I used the Microsoft Office Access database engine 2007 installed on my machine to be able to use the application with the Microsoft.ACE.OLEDB.12.0. I don’t know if I would need to install this on the end-user machine or how to add this to the installer of app.

I was trying to add some reference or dll that solved the problem, but still could not.

Thanks for your help!

1 answer

1

Browser other questions tagged

You are not signed in. Login or sign up in order to post.