首页 > 解决方案 > 应用 Windows 更新 (KB4565627) 后,无法从应用程序通信 WCF 服务

问题描述

我们有一个托管在生产服务器和我的本地机器上的 WCF 服务,以前我能够通过我们的 Web 应用程序 (MVC) 通过 net.tcp 和 http 与我的本地 WCF 服务进行通信,但是在安装KB4565627 ( CVE-2020-1147 ) 的更新我无法沟通并收到以下错误。我已卸载更新并尝试再次通信,然后成功连接 WCF 服务。

您能否帮助我解决 WCF 连接问题以及安全更新。

通过 Web 应用程序(MVC)通信 WCF 时出现以下错误:

**Through net.tcp** - There was no endpoint listening at net.tcp://localhost.company.com/WCFHost/Service1.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details

**Through HTTP** - There was no endpoint listening at http://localhost.company.com/WCFHost/Service1.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details

请查找附件以供参考。

标签: c#wcf

解决方案


您可以升级到 KB4562900。我的电脑升级到 KB4562900 没有任何问题。以下是关于 KB4562900 的链接:

https://support.microsoft.com/en-us/help/4562900/kb4562900-cumulative-update-for-net-framework

您也可以尝试重建您的项目并重新发布到 IIS,最后更新服务引用。


推荐阅读