SQL not trusted
No edit summary
No edit summary
Line 1: Line 1:
A connection was successfully established with the server, but then an error occurred during the login process.  
A connection was successfully established with the server, but an error occurred during the login process.  


Server=xxxx;Database=xxxx;Trusted_Connection=true;
Server=xxxx;Database=xxxx;Trusted_Connection=true;

Revision as of 08:08, 8 February 2023

A connection was successfully established with the server, but an error occurred during the login process.

Server=xxxx;Database=xxxx;Trusted_Connection=true;

Add the TrustServerCertificate=True

Server=xxxx;Database=xxxx;Trusted_Connection=true;TrustServerCertificate=True

Other things that may come into play:

Integrated Security=True; Encrypt=True; TrustServerCertificate=True;

SQL connection 4.x has changed its default setting Encrypt=True from Encrypt=False

For search: The certificate chain was issued by an authority that is not trusted

This page was edited 93 days ago on 02/10/2024. What links here