java.sql.DriverManager.getConnection threw an exception
843859Apr 8 2007 — edited Apr 10 2007Problem: i have MSSQL 2000 on machine and JBDC work on another machine, i use the SQL to authenticate users form DB, but the connection between the JBDC and SQL always didn't go up.
the configuration on the program that using JDBC like that:
Driver=com/microsoft/jdbc/sqlserver/SQLServerDriver
Connect=DSN=jdbc:microsoft:sqlserver://x.x.x.x:1433;UID=sa;PWD=test
but after restart the program, show this error:
java.sql.DriverManager.getConnection threw an exception.
but by using the ethereal program, i note that, the program send msql sync packet, but the MSSQL machine reply with RESET packet.
PLs can any one advice me.