Search code examples
windows-server-2012-r2sql-server-2016oledbconnection

OLEDB Connection Error To SQL Server 2016 / Windows Server 2012R2


We recently installed a SQL Server 2016 Standard instance on a Windows Server 2012R2. When we are trying to create an OLEDB connection we receive the following error

[DBNETLIB][ConnectionOpen (SECDoClientHandshake()).]SSL Security error

enter image description here

I searched the internet and non of the solutions worked for us. https://support.microsoft.com/en-ca/help/3135244/tls-1.2-support-for-microsoft-sql-server


Solution

  • TLS1.2 does not support OLEDB connections