SSL Error on database enumeration after upgrade to Windows Server 2019 / SQL 2019
BlueBSH
Posts: 25 Bronze 2
in SQL Compare
Previously we had our dev server running Windows 2012 R2 and SQL Server 2017 and we connected fine with SQL Data Compare and SQL Compare to the server.
We recently redid that server with Windows Server 2019 and SQL Server 2019, since this move I can not get SQL Data Compare and SQL Compare to work. It will still connected to our other SQL Server which is still running on another Windows 2012R2 / SQL Server 2017 box and read those databases fine when in the new project window, but when I set the target DB to our newer 2019 server it throws an error
"A Connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - An existing connection was forcibly closed by the remote host)"
When I look on the server there are SChannel errors to match
"An unknown connection request was received from a remote client application, but none of the cipher suites supported by the client application are supported by the server. The TLS connection request has failed."
Now this is * ONLY * happening that I can tell in SQL Compare and SQL Data compare (the only two stand alone products I use)
I can connect to this database server via SSMS, Azure Data Studio, Visual Studio SSDT, and SQLCMD just fine. SQL Prompt also works inside of SSMS just fine talking to this database server.
Why in the world am I having this issue with SQL Compare / Data compare only? It worked great before the upgrade.
We recently redid that server with Windows Server 2019 and SQL Server 2019, since this move I can not get SQL Data Compare and SQL Compare to work. It will still connected to our other SQL Server which is still running on another Windows 2012R2 / SQL Server 2017 box and read those databases fine when in the new project window, but when I set the target DB to our newer 2019 server it throws an error
"A Connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - An existing connection was forcibly closed by the remote host)"
When I look on the server there are SChannel errors to match
"An unknown connection request was received from a remote client application, but none of the cipher suites supported by the client application are supported by the server. The TLS connection request has failed."
Now this is * ONLY * happening that I can tell in SQL Compare and SQL Data compare (the only two stand alone products I use)
I can connect to this database server via SSMS, Azure Data Studio, Visual Studio SSDT, and SQLCMD just fine. SQL Prompt also works inside of SSMS just fine talking to this database server.
Why in the world am I having this issue with SQL Compare / Data compare only? It worked great before the upgrade.
Tagged:
Answers
The only problems are with SQL Compare and SQL Data compare, what is different about them?
This error came about due to the recent update on the Microsoft Data Connection client update and so now you will need to do the following:
You can work around this by adding ";Trust Server Certificate=true" to the end of the server name in the connection dialog.
Kind regards
Dan Calver | Redgate Software
Have you visited our Help Center?
I suspect actually you may be hitting this, please see the following:
https://docs.microsoft.com/en-us/troubleshoot/windows-server/identity/apps-forcibly-closed-tls-connection-errors
Kind regards
Dan Calver | Redgate Software
Have you visited our Help Center?
Redgate Software
I can even reproduce this locally on the server
Redgate Software
we also only use TCP/IP for connections.
The 14.5 version will connect to our Server 2012R2 / SQL Server 2017 system with no issues, just this with 14.5 to our Sever 2019 / SQL 2019 box.
Redgate Software
Redgate Software
Given your latest update, how would you like to handle this, seeing as it seems like an environmental issue
Kind regards
Dan Calver | Redgate Software
Have you visited our Help Center?
Ah, that's interesting, glad you were able to narrow down the root of the issue!
Kind regards
Dan Calver | Redgate Software
Have you visited our Help Center?