一品网
  • 首页

Linux下.NET Core连接SqlServer报错


报错内容:A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
可能的原因:SQL Server 不支持 TLS 1.2
解决方案:

修改配置文件/etc/ssl/openssl.cnf(不存在就新建)如下:

[system_default_sect]
MinProtocol = TLSv1
CipherString = DEFAULT@SECLEVEL=1
.NETCore

相关


一、Asp.Net Core WebAPI——修改默认监听端口

.net core 2.2 部署CentOS7(3)安装Xshell操控CentOS7

.net core 部署在Centos 7/8 的几个小坑

通俗易懂,什么是.NET?什么是.NET Framework?什么是.NET Core?

.NET Core3.1 Dotnetty实战第二章

Dora.Interception: 一个为.NET Core度身定制的AOP框架

如何在ASP.NET Core应用中实现与第三方IoC/DI框架的整合?

Dora.Interception,为.NET Core度身打造的AOP框架 [5]:轻松地实现与其他AOP框架的整合

[ASP.NET Core 3框架揭秘] 跨平台开发体验: Linux

为.NET Core项目定义Item Template

ASP.NET Core中如影随形的”依赖注入”[下]: 历数依赖注入的N种玩法

如何远程关闭一个ASP.NET Core应用?

标签

一品网 冀ICP备14022925号-6