Application Server Solutions for Microsoft IIS and ASP.NET
       solutions   products   partners   company   support   downloads         store
BlueDragon Self-Help: FAQ
Back to Search >  Back to Search Results

Faq ID 132
Product JTurbo
Category Exceptions
Question When I try to connect to SQL Server from within my Java code I am seeing an exception that looks something like this:<br><code>java.sql.SQLException: Unknown packet subtype 0x0<br>java.lang.Throwable(java.lang.String)<br>java.lang.Exception(java.lang.String)<br>java.sql.SQLException(java.lang.String)<br>java.sql.Connection</code><br> What is wrong ?
Answer This problem is commonly due to an incorrect SQL Server Configuration. You should try each of the following suggestions
(one at a time, re-testing after each change)
to see if any will fix the problem for you:
  1. Make sure that your SQL server is running on the "default" port of 1433.
    If not, you need to specify the correct port number in your jdbc url.
    Now re-test to see if that change fixed the problem.
  2. Make sure that your SQL server authentication (SQL-based or Windows-based) matches the authentication being used by JTurbo. Note that JTurbo 3.0 and earlier only support SQL-based authentication
    Now re-test to see if that change fixed the problem.
  3. Make sure that your SQL Server is TCP/IP enabled.
    Now re-test to see if that change fixed the problem.
  4. Make sure that your user name and password are valid for your SQL Server.
    Now re-test to see if that change fixed the problem.



   
company media information terms of use privacy policy contact us