The SQLOLEDB provider and the SQL Server ODBC driver that ships with Windows are legacy components that are provided for backward compatibility only. They are deprecated since SQL 2005.
According to this MSSQL Tiger Team blog post :
SQLOLEDB will not receive support for TLS 1.2. You will need to switch the driver to one of the supported drivers listed at https://support.microsoft.com/en-us/kb/3135244
You should be able to install SQL Server Native Client 2012 and use this OLE DB provider only with a change in the connection string (change Provider=SQLOLEDB to Provider=SQLNCLI11 ). Of course, it is worth checking once to avoid surprises. For example, I remember someone experiencing differences in behavior with the SQL Server native client provider and the classic ADO when using server API cursors, although the commonly used fire cursors were good.
EDIT
A new OLE DB driver, MSOLEDBSQL , has been released. This new driver includes support for the latest TLS 1.2 standards and is backward compatible with SQL Server 11 Native Client (SQLNCLI11). See Microsoft SQLNCLi Team Blog Announcement .
source share