I use PromptDataSource
to allow users to setup a database connection.
connectionString := ADOdb.PromptDataSource(0, '');
However I can't get it to work with "Allow saving password" when using the SQL Server Native Client 10.0 provider:
PromptDataSource
return a string with Persist Security Info=False
, and the password is omitted, when using that provider:
Provider=SQNCLI10.1;Integrated Security="";Persist Security Info=False;User ID=MGH;Initial Catalog="";Data Source=stackoverflow.com;Initial File Name="";Server SPN=""
Other providers that I've tried worked, what can I do to fix this?
Note: I believe the provider is installed with MS SQL Server 2008 R2.