SQL Server 已成功建立与服务器的连接,但随后出现错误,证书链错误[已关闭]

92dk7w1h  于 2022-12-10  发布在  其他
关注(0)|答案(1)|浏览(109)

Closed. This question needs details or clarity . It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post .

Closed 3 days ago.
Improve this question
I had problem with Connecting .NET Application via connection string to SQL Server
if you try all possible ways to fix this problem and gain nothing, add this parameter to your connection string in appsettings.json or webconfig
TrustServerCertificate=true;

h7appiyu

h7appiyu1#

如果您在连接字符串中使用TrustServerCertificate=true和trusted_connection=yes,可能会有所帮助,您是否可以发布整个连接字符串以使其更加清晰?希望这会有所帮助

相关问题