当前位置: 代码迷 >> J2EE >> com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'data' 登录失败。解决方法
  详细解决方案

com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'data' 登录失败。解决方法

热度:801   发布时间:2016-04-22 01:28:39.0
com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'data' 登录失败。
com.microsoft.sqlserver.jdbc.SQLServerException: 用户 'data' 登录失败。 ClientConnectionId:e42223a7-94b4-48d2-99e2-18160c922d9d
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:216)
at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:254)
at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:84)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:2908)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:2234)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$000(SQLServerConnection.java:41)
at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:2220)
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:5696)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1715)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1326)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:991)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:827)
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:1012)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at dao.SQLDao.main(SQLDao.java:31)
myeclipse9.0链接sql2008设置完成后报错内容如下。。。求解答啊

------解决方案--------------------
楼主的数据库用户名不对还是 数据库的端口用错了?

好好检查下用户名或者端口
  相关解决方案