Microsoft.Data.SqlClient.SqlException:“A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - 证书链是由不受信任的颁发机构颁发的。)”

在这里插入图片描述

解决办法:

在这里插入图片描述

将Nuget包 从 Microsoft.Data.SqlClient 更改为 System.Data.SqlClient

Logo

电影级数字人,免显卡端渲染SDK,十行代码即可调用,工业级demo免费开源下载!

更多推荐