Getting different SQL exceptions in SQL server Vs Java client application.
Hello Team,
I am getting the following error in my client application and it is failing to connect to the database -
On the 2019 SQL server-
"The login packet used to open the connection is structurally invalid; the connection has been closed. Please contact the vendor of the client library. Error: 17832, Severity: 20, State: 10."
On the Java client application side (using sqljdbc 12.8.1 driver) we get the error- "SQL State: null ; Error Code: 0; Error message : Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The connection is broken and recovery is not possible. The connection is marked by the client driver as unrecoverable. No attempt was made to restore the connection."
What could be the cause?
Thanks.