Timeout when testing SQLServer 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!

maurix
Posts: 3
Joined: Sat Mar 16, 2013 3:42 pm

Timeout when testing SQLServer connection

Hi,
I have some troubles running SQL Scripts that created some databases on Windows 8. The server "SQL Server 2008 R2 Express SP2" is correctly installed and running on Windows 8 as prerequisite. If I browse for servers with a [SqlServerBrowseMethod] the combobox is populated correctly, but as soon as the custom action TestODBCConnection is executed it fails with TimeOut error. If I continue ignoring the timeout all scripts are executed and the databases are created successfully. That means that connection string is valid. The only trouble is testing the connection.

The SqlConnectionString is: "SQLDriver=[\{]SQL Server[\}];Server=[SERVER_PROP],[PORT_PROP];[SQL_LOGIN]"

If I change the SqlConnectionString to "SQLDriver=[\{]SQL Server[\}];Server=[SERVER_PROP];Port = [PORT_PROP];[SQL_LOGIN]" it fails even when calling [SqlServerBrowseMethod].

Have you got any suggestions?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Timeout when testing SQLServer connection

Hello,

Can you please use a "Driver=[\{]SQL Server[\}]" connection string parameter format instead of "SQLDriver=[\{]SQL Server[\}]" and see if the behavior still persist?

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

Return to “Common Problems”