Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: problems connecting to local sql server


Message #1 by REdwards@c... on Fri, 7 Jun 2002 20:13:34
I have SQL server desktop engine and It is not letting my application 
connect to it. How do I set the username and password? 

I thought it was my workstation log on and password, but it says that my 
username is not associtated with a trusted SQL server connection.

I also used:
 MyConnection = New SqlConnection
("server=IT1389xxxxx\VSdotNET;database=IThelpSQL;Trusted_Connection=yes")

I thought Trusted_Connection would work, but it isn't.

I check the properties of the server in VS.NET, but there is no place to 
set a user and password.

Help...please.

Robert Edwards

  Return to Index