By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
463,323 Members | 452 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 463,323 IT Pros & Developers. It's quick & easy.

how to access a sql server 2005 which as by default windows authentication

P: 5
I have installed a sql server 2005 , by default it uses a windows authentication.
Now the problem is while establishing connection from my application written in c# in dotnet. It shows error exactly on line where ,I open the connection.
How solve this problem. Plz help me
Jun 7 '07 #1
Share this Question
Share on Google+
4 Replies

Expert 5K+
P: 6,596
You have posted in the Member Introductions forum. I have moved your post to what I hope is a relevant forum.
Please see your other post here for hints from another moderator.
Jun 7 '07 #2

P: 5
when can i expect a solution for my problem.
Jun 7 '07 #3

Expert 5K+
P: 6,596
when can i expect a solution for my problem.
The time it takes will certainly be shorter now that it is in a more appropriate forum. But wheter this is the best forum for you issue, I don't know.
Jun 7 '07 #4

P: 4
what is the connection code you use??
Dim connectionString As String = "server='YOUR SERVER'; trusted_connection=true; Database='YOUR DATABASE'"
Dim sqlConnection As System.Data.SqlClient.SqlConnection = New System.Data.SqlClient.SqlConnection(connectionStri ng)[/PHP]

I use this code to connect to SQL Server 2005
Jun 20 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.