java.sql.SQLException: [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(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
----------------解决方案--------------------------------------------------------
有以下可能
1,你的SQL server2000没有打SP3以上的包
2,你的SQL server2000打开的端口和你程序要连的端口不一致(默认是:1433)
----------------解决方案--------------------------------------------------------
有以下可能
1,你的SQL server2000没有打SP3以上的包
借问一下千里,能不能给一个SQL server2000的SP3包的下载地址或是安装补丁之类的
----------------解决方案--------------------------------------------------------
baidu一下吧,我上传不上来,有50多M
----------------解决方案--------------------------------------------------------
直接打sp4包吧,winxp直接打sp4包好了
----------------解决方案--------------------------------------------------------
弱弱地问一下,
SQL server2000+winxp
是不是都要打sp3以上的包数据库才好用呢?
----------------解决方案--------------------------------------------------------