I created a project in using ASP.NET. When I test locally everything is fine. When I push to the server, I get this error on any page I make a database call to:
The client and server cannot communicate, because they do not possess a common algorithm
I tried to set my TLS to 1.2 in my Global.asax file with this line of code:
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
But that did nothing.
Here are more error details:
A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The client and server cannot communicate, because they do not possess a common algorithm.)]