【问题标题】:WCF exception 'net.pipe' protocol is disabled for the site temporarily站点暂时禁用 WCF 异常“net.pipe”协议
【发布时间】:2019-12-24 16:27:23
【问题描述】:

我在事件查看器中遇到异常。异常与 wcf 相关。

An error occurred in the Activation Service 'NetPipeActivator' of the protocol 'net.pipe' while trying to listen for the site '2', thus the protocol is disabled for the site temporarily. See the exception message for more details.
 URL: WeakWildcard:net.pipe://Pc4/
 Status: ConflictingRegistration
 Exception: 
 Process Name: SMSvcHost
 Process ID: 1724

我该如何解决?

【问题讨论】:

标签: c# wcf configuration


【解决方案1】:

我们不能在 IIS 中拥有两个具有相同网络命名管道绑定的网站。因为 netnamdpipebinding 机制服务只能接收来自同一台机器的调用,所以管道名称是管道地址的唯一标识符字符串。我们只能在同一台机器上打开一个命名管道,因此两个命名管道地址不能在同一台机器上共享相同的管道名称。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-02-21
    • 2011-12-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多