Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
when i am accessing the data from sql server it is showing following error

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

can you please help on this error


thanks,
prathap
Posted

Have a look at the following similar issues marked resolved:
Error connecting to all of my SQL servers[^]
SQL Server encryption using self signed SSL..[^]
 
Share this answer
 
try:
Programs-->Microsoft SQL Server-->Client Network Utility

In that Unceck "Force Protocol Encryption"
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900