Update your DSNs in Microsoft Access
A few days back I was trying to troubleshoot a Microsoft Access 2013 project. This project was using the FirebirdSQL database engine as its storage medium with MS Access as the front-end. Typical stuff, nothing really crazy.
However a problem surfaced when trying to deploy to production. I simply could not get the database to connect properly. All Access was able to offer was “ODBC Call failed” yeah thanks. >_>
Pulling out my Windows Web Hosting hat from years ago I tried to remember how I troubleshot connections to MS SQL Databases and DSNs. I enabled ODBC call tracing and pointed it to a file on my desktop and tried connecting again.
From the log file I was able to more accurately understand what was going on. At first I saw a password/incorrect issue, then a Table Rights Issue, then a DLL error. Could not find client library. Huh? The Firebird ODBC DSN connection specifies the Client Library, so why would it error on that?
Eventually after a few days of perusing old StackOverflow questions I stumbled onto why I was having an issue. When I linked my database tables to Access, Access copied some additional connection information into the Connection String entry for that Database Object. This included my development locations for DLLs.
Using some VBA I was able to update the Connection String to using the DSN name only. Not after trying to setup for a DSN-less connection, I have yet to figure out how to bundle all the appropriate libraries etc for production use. The project is client specific, so I wont bother trying to make an installer of sorts.
Moral of the story: Update your DSNs and inspect them for sane information.