com.microsoft.sqlserver.jdbc.SQLServerException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

If you're not using yet, consider using the SQLServerDataSource to set your server configurations. Also, check if the server is accepting TCP/IP connections and if there's no firewall blocking the connections.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • The driver could not establish a secure connection
    via by Unknown author,
  • The driver could not establish a secure connection
    via by Unknown author,
  • The TDS prelogin response is incomplete.
    via by 843859,
  • "WARNING: TDSChannel" When Attempting to Connect
    via by Unknown author,
  • "WARNING: TDSChannel" When Attempting to Connect
    via by Unknown author,
    • com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: RSA premaster secret error. at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(Unknown Source) at com.microsoft.sqlserver.jdbc.TDSChannel.throwSSLConnectionFailed(Unknown Source) at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(Unknown Source) at java.sql.DriverManager.getConnection(DriverManager.java:582) at java.sql.DriverManager.getConnection(DriverManager.java:185) at Connect.getConnection(Connect.java:31) at Connect.displayDbProperties(Connect.java:53) at Connect.main(Connect.java:100)

    Users with the same issue

    odd
    1 times, last one,
    drFaust
    1 times, last one,
    musketyr
    1 times, last one,
    balintn
    2 times, last one,
    Unknown visitor1 times, last one,
    63 more bugmates