Sql Scripts - not able connect to SQL Server 2005 express - 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!

rudaf
Posts: 1
Joined: Mon Oct 19, 2009 8:56 pm

Sql Scripts - not able connect to SQL Server 2005 express

Scenario:

during an installation process we need to execute sql scripts to create a db and load data.

Target Environment

winxp pro
sql server 2005 express with mixed authentication method (windows and sql server)

Problem:

The MSI at executing sql script time returns "ODBC Timeout" error
the problem is generated using:

1) ODBC Data Source
2) ODBC Driver method:
(i) sql native client
(ii) sql server

3) impersonate installing user is activated

Note: when used ODBC DATA source, the ODBC is created but with SQL SERVER authentication method with no effective connection with db.

LOG:
log.txt
Project build log
(752 Bytes) Downloaded 218 times
thank you for your support!
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Sql Scripts - not able connect to SQL Server 2005 express

Hello and welcome to Advanced Installer Forums,

It is recommended that you first read our Tutorials, How To's and Q&A's to get you started in efficiently deploying your product.

You could also check out our Configuring a Database with SQL Scripts guide which may be of use to you.

Does this behavior still occur after following the above tutorial? If so, then please send a sample project that accurately reproduces this behavior to support at advancedinstaller dot com so we can further investigate the issue.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”