Hi @Svein
Did you ever find a solution for this? Where seeing the same isssue in our environment.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi
We have an environment running of Windows Servers 2016, 2019 and 2022 and have some issues when we it comes to Windows Server 2016. When we are setting up an ODBC connection using SQL Server standard driver to connect to the new database server running on SQL 2019 on Windows Server 2022 we get following errors:
Connection failed
SQLState: '01000'
[Microsoft][ODBC SQL Sever Driver][DBNETLIB]ConnectionOpen
(SECDoClientHandshake()).
Connection failed:
SQLState: '08001'
SQL Server Error: 18
[Microsoft][ODBC SQL Sever Driver][DBNETLIB]SSL Security error
When I do the setup on an Window Server 2019 it all work fine.
We have also tested an SQL Server 2019 running on Window Server 2019 and than tested ODBC Connection on Window Server 2016 and Windows Server 2019 and that also works well.
But when using Windows Server 2016 with ODBC SQL Server connection to SQL Server 2019 running on Windows Server 2022 fails.
The same issues also when using OLEDB Driver.
Technical information:
SQLSRV32.DLL version 10.00.14393.5427 (on Windows Server 2016)
For information we have found an workaround which is to install and use ODBC Driver 11 for SQL Server and that works fine.
Is there at bug in the standard OCBC drivers on Windows Server 2016 when it tries to connect to Windows Server 2022?
Br
Svein
Hi @Svein
Did you ever find a solution for this? Where seeing the same isssue in our environment.
Hi
Yes, actually we found an solution/workaround.
Windows Server 2022 has be default disabled the TLS version 1.0 and 1.1 so you have to enabled them manually in Registry.
How to enable TLS 1.0 and TLS 1.1:
After this registry settings is done you have reboot the server.
If you don't TLS 1.0 you don't need set it up or you can set the Enabled value data to 0.
Good luck.