database connection problem
-
SqlConnection con = new SqlConnection("Data source=COMPUTER\\SQLEXPRESS;initial catalog=Kisiler;integrated security=True**; User id=sa; Password=123456**"); Use this. but do remember to type ur userid and password Regards Lalit Manik
-
Problem is with connection string. User name and password credentials are missing there....
-
Try changing the Data Source to Data Source=.\\SQLEXPRESS (Assuming you're using the default instance.) You can also check out connectionstrings.com[^] Hope this helps =)
-
hi i checked the site but as i see my connection string is the same in the site i give permission that user to use the database but still i have error :(
-
Temme 1 thing, the account from which u logged in to Ur computer have rights to access the SQl?
-
yeah i have given permission to that user but still it says it doesnt have to reach the db