当前位置: 代码迷 >> Java相关 >> [原创]win2003server 版本中使用java连接mssql出问题了
  详细解决方案

[原创]win2003server 版本中使用java连接mssql出问题了

热度:314   发布时间:2006-08-31 09:32:33.0
[原创]win2003server 版本中使用java连接mssql出问题了
[Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown Source)
at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)
at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at game.conn$1.actionPerformed(conn.java:65)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

请问大家遇到过这问题吗? 怎么回事? 是不是win2003系统的问题呢 还是mssql的问题呢?
我用的是 win2003+eclipse+sql server2000 连接access数据库都成了~ sql却怎么也连不上



搜索更多相关的解决方案: java  mssql  

----------------解决方案--------------------------------------------------------

jre1.50_06


----------------解决方案--------------------------------------------------------
SQL Server的认证配置问题,sql我就是用的混合登录验证的 没错

----------------解决方案--------------------------------------------------------
自问自答一个
下一个sql2000sq4补丁就可以~
----------------解决方案--------------------------------------------------------

再补充一下 官方网站给了三个补丁 需要解压到一起然后重起然后安装 问题解决~


----------------解决方案--------------------------------------------------------
会mysql么?

----------------解决方案--------------------------------------------------------
只知道那东西是免费的
----------------解决方案--------------------------------------------------------
对中文的支持 我没弄明白 正郁闷中!

----------------解决方案--------------------------------------------------------

加油


----------------解决方案--------------------------------------------------------
  相关解决方案