.NET版本更新

时间:2019-02-27 21:01:24

标签: c# asp.net .net iis-7

我的服务器上安装的.NET版本有问题。在我的本地计算机上,我安装了4.7.3324.0版本(clr.dll文件具有该数字代表产品名称和产品版本)

我的服务器安装了4.0并升级到4.6.1(clr.dll文件现在的文件版本为4.6.81.0,产品版本为4.0.30319.0)

问题是,asp.net网页在我的本地计算机上运行良好,但在服务器上却无法运行。我们必须升级才能使用TLs12,但即使进行升级,我也无法使其正常工作(我正在设置ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;)。

有什么想法吗?

谢谢

System.ServiceModel.CommunicationException: An error occurred while receiving the HTTP response to https://myservice/webservices/current/logon.asmx. This could be due to theservi ice endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.ComponentModel.Win32Exception: The client and server cannot communicate, because they do not possess a common algorithm

0 个答案:

没有答案