dbTalk Databases Forums  

System DSN / Registry

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss System DSN / Registry in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Carsten
 
Posts: n/a

Default System DSN / Registry - 04-09-2005 , 03:30 PM






I need to make a system dsn connection on 50 pc.

It's a system dsn connection with sql users

I have though about to make a registry key, but I don't know where user and
password are in the registry.



My question is where in the registry can I find these keys?



CD



Reply With Quote
  #2  
Old   
Dan Guzman
 
Posts: n/a

Default Re: System DSN / Registry - 04-09-2005 , 05:17 PM






The SQL Server password is not stored with the ODBC DSN. With SQL
authentication, you'll need to specify the userid and password in your
application connection.

--
Hope this helps.

Dan Guzman
SQL Server MVP

"Carsten" <chd (AT) danfoss (DOT) com> wrote

Quote:
I need to make a system dsn connection on 50 pc.

It's a system dsn connection with sql users

I have though about to make a registry key, but I don't know where user
and password are in the registry.



My question is where in the registry can I find these keys?



CD





Reply With Quote
  #3  
Old   
John Bell
 
Posts: n/a

Default Re: System DSN / Registry - 04-09-2005 , 05:19 PM



Hi

If you can use a DSN-less connection, it will avoid all this and all the
subsequent support calls!!!

http://msdn.microsoft.com/library/de...datasource.asp

If you are going to add a DSN it is better to do it programmatically see
http://msdn.microsoft.com/library/de...datasource.asp
or through a proper installation.

You need to look in HKLM\Software\microsoft\ODBC\O*DBC.INI for the DSN
information.

John

"Carsten" <chd (AT) danfoss (DOT) com> wrote

Quote:
I need to make a system dsn connection on 50 pc.

It's a system dsn connection with sql users

I have though about to make a registry key, but I don't know where user
and password are in the registry.



My question is where in the registry can I find these keys?



CD





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.