在 Windows 注冊表中禁用除 TLS 1.2 以外的所有內容時,在安裝程序中嘗試連接到資料庫時收到此錯誤訊息
*Error 27502. Could not connect to Microsoft SQL Server '(local)'. [DBNETLIB][ConnectionOpen (SECCreateCredentials()).]SSL Security error. (18)*. I've tried it on SQL Server 2012 and 2016.
我使用的是 SQL Server Standard Edition 或更高版本,并在 2012、2014 和 2016 版本中進行了嘗試。
到目前為止我嘗試過的主要事情:
升級到 InstallShield 2019 R3:https : //docs.revenera.com/installshield26helplib/helplibrary/NewFeatureIS2019.htm
安裝 SQL Server 驅動程式MSOLEDBSQL:https : //docs.microsoft.com/en-us/sql/connect/oledb/download-oledb-driver-for-sql-server?view= sql-server- ver15
uj5u.com熱心網友回復:
雖然我安裝了驅動程式MSOLEDBSQL,但我并沒有在InstallShield 中將連接字串中的提供程式更改為MSOLEDBSQL。這樣做并使 MSOLEDBSQL 驅動程式成為 InstallShield 的先決條件使其正常作業。
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/365218.html
標籤:sql-server ssl tls1.2 安装屏蔽
上一篇:為不同的路由使用不同的客戶端證書
