Skip to content

SQL Server Tips: CMS – Connection Error: -2146893019 Severity: 20

Few days ago, I install new instances SQL Server 2022 and the new SSMS by a customer and when I register the instances in the Central Management Servers (CMS), I was surprise by the error coming from the connection test:

ERROR Message:

A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 – The certificate chain was issued by an authority that is not trusted.) (Framework Microsoft SqlClient Data Provider)

Error Number: -2146893019

Severity: 20

State: 0

If I open a connection with the Object Explorer on the same instance, it’s working fine…

Questions about your own setup? A dbi services consultant can look at your case.

Talk to an expert (opens in a new tab)

I go to the connection Properties and see that the option “Encrypt Connection” is checked by default:

I uncheck the case and it was good.

The other solution is to check “Trust server certificate” if you need to keep “Encrypt connection” checked:

My advise is to check every time the connection properties when you register a new SQL server in your CMS.

To finish my article, I would simply say that as usual one should read the documentation and the problem would not be a problem 😉:

Searching in these good documetations, you can see that it’s linked to the ODBC connection and not to new version of SQL Server.

I hope this little article can help you….

Let’s work together

Ready to operate at
the next level?

Tell us about your challenge. We’ll bring the depth, the expertise, and the Swiss precision.

Stéphane Haby

Stéphane Haby

Stéphane Haby has more than 20 years of experience in Microsoft solutions, specializing in the installation, migration, best practices, and performance analysis of Microsoft SQL Server, as well as Microsoft Business Intelligence solutions (SharePoint, Office) and .NET development for the banking sector. A former Microsoft Most Valuable Professional (MVP) and early adopter of Microsoft Team System in France, he has authored several technical articles. He holds Microsoft Certified Solutions Associate (MCSA) and Expert (MCSE) for SQL Server, MCTS, MCITP for SQL Server 2008, and ITIL V3 Foundation certifications. His industry experience covers chemicals and pharma, banking, and financial services.View Author posts

182 posts since April 2011

Leave a Comment

Your email address will not be published. Required fields are marked *