[dba-VB] Trusted Connection versus What?

Brett Barabash BBarabash at TappeConstruction.com
Wed Apr 30 08:19:43 CDT 2003


Arthur,
Try: server=localhost;database=store;User Id=myusername;Password=mypassword
This works for SQL Server via ADO.


-----Original Message-----
From: Arthur Fuller [mailto:artful at rogers.com]
Sent: Wednesday, April 30, 2003 7:11 AM
To: dba-vb at databaseadvisors.com
Subject: [dba-VB] Trusted Connection versus What?


In the I Buy Spy sample apps, there is a connection string like this:

<add key="ConnectionString"
value="server=localhost;Trusted_Connection=true;database=Store" /> 

My db server is not set up for trusted connections. What do I change this
to? Do I embed a suitable uid and pswd right in the string or what?

TIA,
Arthur

_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com


--------------------------------------------------------------------------------------------------------------------
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed.
If you have received this email in error please notify the
originator of the message. This footer also confirms that this
email message has been scanned for the presence of computer viruses.

Any views expressed in this message are those of the individual
sender, except where the sender specifies and with authority,
states them to be the views of Tappe Construction Co.

Scanning of this message and addition of this footer is performed
by SurfControl E-mail Filter software in conjunction with 
virus detection software.



More information about the dba-VB mailing list