busbyw
02-19-2002, 04:37 AM
Has anyone on this site managed to successfully install and configure a SQL Server System DSN?
I have managed to configure a new DSN with Server name, ANSI padding, DataBase name, etc. etc. I can also get it to use NT or SQL security.
My problem is I want to specify a username and password for the SQL trusted security. I have looked everywhere for DSN security properties, and found nothing, I've even tried the UID/PWD combination specified in C/C++ libraries, but all I get is an error.
I did manage to hack the username part of the DSN by adding in the 'LastUser' regsitry setting to the ODBC.ini key, but I would like to state that it is a hack and I would love to do this correctly, using the correct property names.
Help.
I have managed to configure a new DSN with Server name, ANSI padding, DataBase name, etc. etc. I can also get it to use NT or SQL security.
My problem is I want to specify a username and password for the SQL trusted security. I have looked everywhere for DSN security properties, and found nothing, I've even tried the UID/PWD combination specified in C/C++ libraries, but all I get is an error.
I did manage to hack the username part of the DSN by adding in the 'LastUser' regsitry setting to the ODBC.ini key, but I would like to state that it is a hack and I would love to do this correctly, using the correct property names.
Help.