Microsoft Ole Db Provider For Sql Server Tls 1.2 !link! Here

Registry keys (reboot required):

using (OleDbConnection conn = new OleDbConnection( "Provider=MSOLEDBSQL;Data Source=myServer;Initial Catalog=myDB;Integrated Security=SSPI;")) microsoft ole db provider for sql server tls 1.2

Set conn = Server.CreateObject("ADODB.Connection") conn.Open "Provider=MSOLEDBSQL;Data Source=myServer;Initial Catalog=myDB;Integrated Security=SSPI;Use Encryption for Data=True;" Even in .NET, if you are forced to use System.Data.OleDb , change the connection string similarly: Use Encryption for Data=True