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!

MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

SqlServerConnectionDialog will not honor timeout values

Hi,

I have set the timeout values of the SQLServerConnectionDialog to 5 seconds each (see attached images and project)
SQL_DlgPredefinedConnection.PNG
SQL_DlgPredefinedConnection.PNG (23.85 KiB) Viewed 3269 times
and
SQL_DlgDatabaseBrowse.PNG
SQL_DlgDatabaseBrowse.PNG (18.25 KiB) Viewed 3269 times
but when I test the connection to an invalid server, the timeout goes for a minute

Why?
Attachments
DBAccessTest.zip
(10.93 KiB) Downloaded 256 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: SqlServerConnectionDialog will not honor timeout values

Hello Mike,

To specify the timeout for the test ODBC action you should set the "SqlConnectionTimeout" property. You can go in "Install Parameters" page and add a property like this:
  • Name: SqlConnectionTimeout
    Value: 5
If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: SqlServerConnectionDialog will not honor timeout values

What are the other timeout values used for?

( your suggestion worked as well )
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: SqlServerConnectionDialog will not honor timeout values

Hello Mike,

You can use any value between 0 and 10000 (seconds).

If you have any questions just let us know.

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

Return to “Building Installers”