c# - 应用 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
请查找附件以供参考。
解决方案
您可以升级到 KB4562900。我的电脑升级到 KB4562900 没有任何问题。以下是关于 KB4562900 的链接:
https://support.microsoft.com/en-us/help/4562900/kb4562900-cumulative-update-for-net-framework
您也可以尝试重建您的项目并重新发布到 IIS,最后更新服务引用。
推荐阅读
- c++ - 内联显示链表
- laravel - 搜索查询只返回一个用户
- python - 我在 pycharm 中导入 nmap 时遇到问题
- c# - 在 Windows 应用程序中导出数据时向 Excel 文件添加多个标题文本
- python - 如何在 SQL Server 管理工作室中运行 exe 文件
- python - 如何从 IMDB 网站上抓取电影信息?
- java - 如何解决“原因:类型代码无效:8F”
- ios - 是否可以在 iOS UI 测试中模拟两指滑动?
- dart - 如何在 Flutter 中管理对象列表流?
- ios - 错误:沙箱与 Podfile.lock 不同步。运行“pod install”或更新您的 CocoaPods 安装