|
|
Posted by Rune Henning Johansen on 06/16/98 12:00
I'm trying to connect to a SQL-Server from Java using code that worked OK before
another place:
connectionUrl =
"jdbc:sqlserver://Xpserver:1433;databaseName=orthodata;user=sa";
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
con = DriverManager.getConnection(connectionUrl);
But now I get:
com.microsoft.sqlserver.jdbc.SQLServerException:
The TDS prelogin response is incomplete. The target server must be SQL Server
2000 or later.
Any ideas?
- - -
The source:
http://rhj.mine.nu/s/TestConnection.html
Log:
http://rhj.mine.nu/s/logg_2008_01_14.txt
I doubt that the SQL Server is older than 2000.
--
Rune H. Johansen, +4722253241, +4795939001, http://rhj.info/
Navigation:
[Reply to this message]
|