Microsoft Ole Db Provider For Sql Server Tls 1.2 [upd] May 2026
conn.Open();
Then ensure TLS 1.2 is enabled:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client] "Enabled"=dword:00000001 "DisabledByDefault"=dword:00000000 Before (fails with TLS 1.2 only server): microsoft ole db provider for sql server tls 1.2

