I work with Windows 2000 pro and a DB on SQL server 2000.
I have download from the MS web site the driver JDBC for
sql server 2000. I have set the Classpath.... But I have
the following message error:
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver
for JDBC]Error establishing socket.
at
com/microsoft/jdbc/base/BaseExceptions.createException
at
com/microsoft/jdbc/base/BaseExceptions.getException
at
com/microsoft/jdbc/base/BaseExceptions.getException
at
com/microsoft/jdbc/sqlserver/tds/TDSConnection.<init>
at
com/microsoft/jdbc/sqlserver/SQLServerImplConnection.open
at
com/microsoft/jdbc/base/BaseConnection.getNewImplConnection
at com/microsoft/jdbc/base/BaseConnection.open
at com/microsoft/jdbc/base/BaseDriver.connect
at java/sql/DriverManager.getConnection
(DriverManager.java)
at java/sql/DriverManager.getConnection
(DriverManager.java)
at Connect.getConnection (Connect.java:31)
at Connect.displayDbProperties (Connect.java:48)
at Class1.main (Class1.java:90)
Error Trace in getConnection() : [Microsoft][SQLServer
2000 Driver for JDBC]Error establishing socket.
Error: No active Connection
What can I do to solve this problem?