SQL Server Performance

Getting error while connecting SQL Server 2008 via JDBC driver from Java application

Discussion in 'ALL SQL SERVER QUESTIONS' started by deepak2310, Feb 21, 2012.

  1. deepak2310 New Member

    Hi All,
    I am getting below error while connecting Java application from JDBC driver to reading SQL Server 2005 database. I already updated JDBC 3.0 driver in my machine and use KB article "http://support.microsoft.com/kb/915834" but still not solve this issue. I can easily insert data in database but getting error while reading it.

    Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 1 (""): Data type 0x38 is unknown.

    I had also tested both Driver Manager class (Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver") / Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").

    Deepak Goyal

Share This Page