Click here to Skip to main content
15,890,336 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
error message is =>
C#
Login failed for user 'WIN-5LU


What I have tried:

C#
kDataContext dc = new kDataContext();
var q = from d in dc.contacus select d;
GridView1.DataSource = q;
GridView1.DataBind();
Posted
Updated 21-May-16 10:02am
Comments
AnvilRanger 21-May-16 16:03pm    
You need to check your connection string is in your web.config.

1 solution

So look at your connection string, and check your user and password details are correct. That is what the error message is saying: the user details you have given for that server aren't right.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900