While adding service reference for a web service on Windows server 2008 R2, I am facing following error. "The underlying connection was closed: An unexpected error occurred on a send. Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host." This web service recently moved to TLS 1.2 and does not supports below versions of TLS.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319] "SchUseStrongCrypto"=dword:00000001 [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319] "SchUseStrongCrypto"=dword:00000001
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)