SQL Strings - 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!

djw1005
Posts: 4
Joined: Thu Apr 14, 2011 8:38 pm

SQL Strings

I am trying to use a custom SQL connection but everything I try fails?

Driver=SQL Server;Server=[DBSERVER_PROP];Port=1433;Database=[DBNAME_PROP];[SQLAUTHORISATIO

What am I doing wrong?

Please help its so frustrating as this is the final part I need to work
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: SQL Strings

Hello and welcome to the Advanced Installer Forums,

Here is the tutorial which should guide you step by step into testing this. In the same category there are more article which you may find helpful.

In your case, the connection string should be something like:

Code: Select all

Driver={SQL Server};Server=[DBSERVER_PROP];Port=1433;Database=[DBNAME_PROP];[SQL_AUTHORIZATION]
All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
djw1005
Posts: 4
Joined: Thu Apr 14, 2011 8:38 pm

Re: SQL Strings

Hi there, I have tried this too and it fails?

Any other ideas?
djw1005
Posts: 4
Joined: Thu Apr 14, 2011 8:38 pm

Re: SQL Strings

Driver={SQL Server};Server=[SERVER_PROP];Port=1433;Uid=[LogonUser];Trusted_Connection=Yes;Database=Master;

I have this connection string working, but it tells me that annoymous connections aren't allowed, even though I am logged in as domain admin
djw1005
Posts: 4
Joined: Thu Apr 14, 2011 8:38 pm

Re: SQL Strings

Any more ideas, this is stopping me buying this product
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: SQL Strings

Hello,

Can you please send us the .AIP (project) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”