Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Out application built on .net framework 3.5 and sql server 2005.

For security reason we have disabled TLS1.0.

After doing it we are able to connect to remote sql server using Management Studio but when we point the same sql server to our application we are getting the error

Logged~Database~0~A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The client and server cannot communicate, because they do not possess a common algorithm.)~S0000!


What I have tried:

We have tried giving all protocol access from database server but no luck.
Posted
Updated 13-Oct-17 2:43am

1 solution

Make sure your application is running on an OS which supports TLS 1.1, and use the patch from Microsoft to enable .NET 3.5 to use it:
Support for TLS System Default Versions included in the .NET Framework 3.5 on Windows Server 2012[^]

Depending on the OS, you might also need to enable TLS 1.1 as a client protocol. The simplest way to do that is through Internet Explorer's "Advanced" options.
 
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