Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Log on to Sql server

Status
Not open for further replies.

vbajock

Programmer
Joined
Jun 8, 2001
Messages
1,921
Location
US
Does any one have a sample of what the <appSettings> keys are supposed to look like for logging into sql server with Windows Integrated security? I have a sample out of a book that doesn't seem to work.
 
this is what i used:

<appSettings>
<add key="connString" value = "SERVER=<servername;UID=SA;APP=Microsoft(R) Windows NT(TM) Operating System;WSID=CUSTOMER;DATABASE=<db name>;User Id=SA;PASSWORD=<password>;"/>

</appSettings>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top