无法连接到我的站点的数据库服务器 [英] Failed to conect to databace server of my site

查看:72
本文介绍了无法连接到我的站点的数据库服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

错误消息=>

Login failed for user 'WIN-5LU





我尝试过:





What I have tried:

kDataContext dc = new kDataContext();
var q = from d in dc.contacus select d;
GridView1.DataSource = q;
GridView1.DataBind();

推荐答案

请查看您的连接字符串,并检查您的用户和密码详细信息是否正确。这就是错误消息所说的:您为该服务器提供的用户详细信息不正确。
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.


这篇关于无法连接到我的站点的数据库服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆