- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am having an issue with a c# plugin for opening/reading/and saving Excel files and a CAD requirement to install Access Database Engine 2016.
I am the developer and have a 2016 32-bit version of Excel downloaded. I deploy a software package in a .dll that others load in and use.
Lately, I have two users that have a 2019 64-bit version of office installed and suddenly, on Autocad startup, it required them to install Microsoft Access Database Engine 2016 64bit (I still only have a 2010 version installed). See attached for the error. If they don't install it, CAD will close.
After downloading, everything seemed fine, but when an excel file is opened through the software (using Microsoft.Office.Interop.Excel), it bombs out with another error - see attached.
So what is required is to go to the control panel and repair the 2019 office, and then the code runs fine. But then, when they close CAD and re-open, the same access database engine 2016 error pops back up (need to repair this to continue), and the two issues repeat constantly.
Does anyone have any ideas? Use something other than Microsoft.Office.Interop.Excel? Have all users keep 2016 32-bit office? Or upgrade Office on the deployment PC?
Thanks,
Solved! Go to Solution.