ODBC issue while connecting Database server - Advanced Installer Community
karthick.k
Posts: 57
Joined: Tue Jul 14, 2015 1:30 pm

ODBC issue while connecting Database server

Hello,

In our installer, we have a Database dialog which loads the SQL server by using 'BrowseSqlServers' method. When we click next to proceed from the Database dialog, it opens the ODBC screen and it freezes.

Please assist us on resolving this issue.

Thanks
Attachments
AIP_Project.zip
(567.44 KiB) Downloaded 316 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: ODBC issue while connecting Database server

Hello,

Note that I cannot open the attached .aip (project file) because I don't have its repository dependency DatabaseServer_en.aip file and NewDialog_en.aip file. Can you please send us the related files also? It is usually located in <Repository_Path>\AI_Repository\Dialogs\.

Please take a look on the Dialog repository article which may be useful to you.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
karthick.k
Posts: 57
Joined: Tue Jul 14, 2015 1:30 pm

Re: ODBC issue while connecting Database server

Hello Dan,

Sorry, here is the attachment.

Thanks
Attachments
AIP_Project.zip
(850.82 KiB) Downloaded 289 times
karthick.k
Posts: 57
Joined: Tue Jul 14, 2015 1:30 pm

Re: ODBC issue while connecting Database server

Hello,

Any update on this?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: ODBC issue while connecting Database server

Hello,

First of all, I apologize for my delay reply.
In order to get more details about what happens can you download the following debug DLL, replace the original one from the install folder of Advanced Installer 11.6.2 (e.g. C:\Program Files (x86)\Caphyon\Advanced Installer 11.6.2\custact\x86) on your machine and rebuild the package?

Just replace the original SQL.dll from the install folder of Advanced Installer with this one, then restart the application and rebuild the package. This DLL should create a debug log (at install time) on the root of the OS partition (e.g. C:\AI_SQL.log), which can give us more details about the problem. So, can you send us the AI_SQL.log, after you will build and test your installation package using the debug SQL.dll?

You should also back up your original SQL.dll.

By the way, can you please try to use the latest version of Advanced Installer and see if the behaviour still persist? Starting with the 11.7 version of Advanced Installer the SQL browsing support has been completely rewritten, presenting you all the options in a beautiful and easy to use GUI, without hiding your choices in hard to locate and understand published events.

To visually discover this, please take a look on the SQL Browsing video.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
karthick.k
Posts: 57
Joined: Tue Jul 14, 2015 1:30 pm

Re: ODBC issue while connecting Database server

Hi Dan

Here is the AI_SQL log.
Even we tried with 12.3 version, but still we getting the same issue.

Please let us know asap.
Thanks.
Attachments
AI_SQL.log
(13.73 KiB) Downloaded 285 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: ODBC issue while connecting Database server

Hello,

It seems that the connection timeout is reached when the browse database operation is executed. There are several reasons why the connection might reach its timeout. Here's some what you can check in order to make sure the entered details are correct.
  • Check if the server name is correct;
  • Check to see if a different port is used than the default one. If it used, please specify the port number;
  • Check credentials;
By the way, I didn't noticed where you are using the results of the database browse operation. Why is the database browse operation needed?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
karthick.k
Posts: 57
Joined: Tue Jul 14, 2015 1:30 pm

Re: ODBC issue while connecting Database server

Hi Dan

Sorry for the delay in reply.
We are using the Database Browse operation for the listing out all the available servers in the SQL server drop list.

The SQL server credentials and server name is also correct.

Thanks
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: ODBC issue while connecting Database server

Hello,

Can you please tell us if the behaviour persist in a new sample project?
You can also take a look on the Get List of Servers with list of databases forum thread where you will find a sample project that implements the database and server browse operation.

Please let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”