6.1 Test Provider Availability Get-ChildItem "HKLM:\SOFTWARE\Classes" -ErrorAction SilentlyContinue | Where-Object $_.PSChildName -like "*MSOLEDBSQL*" 6.2 Capture Network Traffic Use Wireshark or netsh trace to observe TLS handshake:
Then ensure TLS 1.2 is enabled:
[DBNETLIB][ConnectionOpen (SECDoClientHandshake()).]SSL Security error. [Microsoft OLE DB Provider for SQL Server] Cannot generate SSPI context. The only Microsoft-supported OLE DB provider that fully supports TLS 1.2 (and TLS 1.3 where applicable) is MSOLEDBSQL (Microsoft OLE DB Driver for SQL Server).
6.1 Test Provider Availability Get-ChildItem "HKLM:\SOFTWARE\Classes" -ErrorAction SilentlyContinue | Where-Object $_.PSChildName -like "*MSOLEDBSQL*" 6.2 Capture Network Traffic Use Wireshark or netsh trace to observe TLS handshake:
Then ensure TLS 1.2 is enabled:
[DBNETLIB][ConnectionOpen (SECDoClientHandshake()).]SSL Security error. [Microsoft OLE DB Provider for SQL Server] Cannot generate SSPI context. The only Microsoft-supported OLE DB provider that fully supports TLS 1.2 (and TLS 1.3 where applicable) is MSOLEDBSQL (Microsoft OLE DB Driver for SQL Server).