Issue trying to add an .mdb ODBC connection - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

jnicholson_IT
Posts: 3
Joined: Wed Mar 06, 2013 1:26 am

Issue trying to add an .mdb ODBC connection

Hello,

I'm trying to add an .mdb ODBC connection in the User DSN and the system DSN part of the ODBC. I've looked in the how to's and tutorials and I dont know what I am missing to automatically create these connections when running the msi.

Below is some screenshots of what I've done in the ODBC section of AI

Image

Image

Image
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Issue trying to add an .mdb ODBC connection

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

Can you please make sure that the related driver (Driver do Microsoft Access) of your data source is already installed on target machine when run your installation package and try again?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jnicholson_IT
Posts: 3
Joined: Wed Mar 06, 2013 1:26 am

Re: Issue trying to add an .mdb ODBC connection

Ok, so it's better to import an ODBC connection from the source comupter, than trying to put in all the values manually?

I'll make sure that the source PC has microsoft access installed and make sure that that database is added to the ODBC on that machine.

I'll let you know how I go.

Kind regards,
Josh
jnicholson_IT
Posts: 3
Joined: Wed Mar 06, 2013 1:26 am

Re: Issue trying to add an .mdb ODBC connection

I've made sure that Microsoft access was installed and made sure I added the ODBC connection to the access database on the clean machine.
I then used the import data source and it says " Connection to Drive failed"
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Issue trying to add an .mdb ODBC connection

Hello,
Ok, so it's better to import an ODBC connection from the source comupter, than trying to put in all the values manually?
No, a recommended approach would be to use a similar scenario like the one described in "MySQL Connector/ODBC Data Source Configuration" thread which debates a similar issue.
I've made sure that Microsoft access was installed and made sure I added the ODBC connection to the access database on the clean machine.
Please be aware that you should make sure that the ODBC driver used by your data source is installed on target machine (i.e. on the test machine where you will install your package) before you run your installation package. You should check this from "Control Panel -> Administrative Tools -> Data Sources (ODBC) -> Drivers" tab.

Also, can you give us more details about what kind of issue you are encountering when try to add an ODBC data sources using your installation package?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”