Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sql-server/27.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sql server 尝试从udl测试文件连接到SQL Server 2016时出现SSL安全错误_Sql Server_Sqlconnection - Fatal编程技术网

Sql server 尝试从udl测试文件连接到SQL Server 2016时出现SSL安全错误

Sql server 尝试从udl测试文件连接到SQL Server 2016时出现SSL安全错误,sql-server,sqlconnection,Sql Server,Sqlconnection,我正在尝试测试从本地PC(Win 7)到SQL Server 2016计算机(Win 2016标准X64)的SQL连接。我刚刚创建了一个伪.udl文件,提供了服务器名称、SQL凭据,但收到以下错误: [DBNETLIB][ConnectionOpen (SecDoClientHandshake().]SSL Security error. 如果我通过SQLManagementStudio进行连接,那么它就可以正常工作 如果我尝试使用ODBC工具测试数据源,我将在测试连接窗口中收到以下错误消息

我正在尝试测试从本地PC(Win 7)到SQL Server 2016计算机(Win 2016标准X64)的SQL连接。我刚刚创建了一个伪.udl文件,提供了服务器名称、SQL凭据,但收到以下错误:

[DBNETLIB][ConnectionOpen (SecDoClientHandshake().]SSL Security error.
如果我通过SQLManagementStudio进行连接,那么它就可以正常工作

如果我尝试使用ODBC工具测试数据源,我将在测试连接窗口中收到以下错误消息

Microsoft SQL Server Native Client Version 11.00.2100

Running connectivity tests...

Attempting connection
[Microsoft][SQL Server Native Client 11.0]Encryption not supported on the client.
[Microsoft][SQL Server Native Client 11.0]SSL Provider: The client and server cannot communicate, because they do not possess a common algorithm.

[Microsoft][SQL Server Native Client 11.0]Client unable to establish connection
[Microsoft][SQL Server Native Client 11.0]A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.

TESTS FAILED!

更新:对于.udl虚拟测试,我通过在SQL Server系统上启用TLS 1.0(注册表路径:HKLM System\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols)使其工作。

我已启用TLS 1.0(注册表路径:HKLM System\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols)在应用服务器上,ODBD数据源测试也按预期工作。

我已在应用服务器上启用了TLS 1.0(注册表路径:HKLM SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols),因此,ODBD数据源测试也按预期工作。

TLS 1.0已被弃用,不要指望此修复程序会永远奏效谢谢Andy的评论…我想软件供应商需要更新安装程序并切换到较新的驱动程序,因为现在他们正在使用Microsoft OLE DB Provider for SQL Server connection来创建应用程序的数据库。作为进行升级的系统的用户。。。我希望你的比我的更顺利。didTLS 1.0已被弃用,不要指望此修复程序会永远有效谢谢Andy的评论…我想软件供应商需要更新安装程序并切换到新的驱动程序,目前,他们正在使用Microsoft OLE DB Provider for SQL Server连接来创建应用程序的数据库。。。我希望你的比我的顺利