Page 1 of 1

Connect without write registry values

Posted: Thu 31 May 2007 14:51
by anordlun
Is there a possibility to connect to a server without changing registryvalues "\Software\Microsoft\MSSQLServer\Client\ConnectTo"

We are installing our application on strict networks, and we are not allowed to write in the registry

//Andreas

Posted: Fri 01 Jun 2007 11:04
by Jackson
You do not need to change any registry values to connect to SQL Server using DbxSda.
Just specify the server you want to connect to in the following manner:
SQLConnection.Params.Add('HostName=MyServer');
For more information please see the ReadMe.html file.
You can find this file in the DbxSda installation directory.

Posted: Fri 01 Jun 2007 14:37
by anordlun
Soooo easy, sooo easy... Thanks.

I added an alias to the server in this parameter, and therefore I had to add server connection definition in the registry.

Thats now history, Thanks again Jackson...