wcf - 无法在 Web 服务器上开始调试。底层连接已关闭 : An unexpected error occurred on a send

标签 wcf debugging iis visual-studio-2015

我们正在 Visual Studio 中开发基于 SOAP 的 WCF 服务:

enter image description here

enter image description here

虚拟目录确实被创建了。但是,当我尝试在 Visual Studio 2015 (F5) Debug模式下运行代码时,出现以下错误:

Unable to start debugging on the web server. The underlying connection was closed: An unexpected error occurred on a send



当我们公司更改其 Windows 域名时,上述错误开始出现。我该如何解决问题?

以下是我们的开发环境中使用的技术:
  • Windows Server 2012 R2 标准 64 位操作系统,基于 x64 的处理器
  • Microsoft Visual Studio Enterprise 2015 版本 14.0.25431.01 更新 3
  • 互联网信息服务(版本 8.5.9600.16384)
  • 最佳答案

    我需要制作一个伪造的自签名证书,并将其与网站的https 443端口相关联,如下图所示:
    enter image description here

    关于wcf - 无法在 Web 服务器上开始调试。底层连接已关闭 : An unexpected error occurred on a send,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44656027/

    相关文章:

    jquery - 在 JQuery 中解析 JSON 对象

    c# - 如何在没有 svcutil.exe 的情况下使用 WCF 服务?

    Xcode 调试 : how to view xmm registers in readable form

    php - 将 Silverlight 与 PHP 集成

    c# - 如何找出 iis7 中的 404 错误处理程序中缺少哪个请求路径?

    .net 核心调用 wcf 服务 - SecurityAccessDeniedException : The security token could not be authenticated or authorized

    c# - ASMX SOAP Web 服务创建复杂类型而不是简单类型

    debugging - 调试嵌入式软件(核心转储)

    c - 哪些工具可以捕获C中的缓冲区溢出?

    c# - 如何以编程方式获取特定网站 IIS6 的应用程序池名称? C#