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;
1条答案
按热度按时间h7appiyu1#
如果您在连接字符串中使用TrustServerCertificate=true和trusted_connection=yes,可能会有所帮助,您是否可以发布整个连接字符串以使其更加清晰?希望这会有所帮助