c# - 站点暂时禁用 WCF 异常“net.pipe”协议
问题描述
我在事件查看器中有异常。例外是 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
我该如何解决?
解决方案
我们不能在 IIS 中拥有两个具有相同网络命名管道绑定的网站。因为 netnamdpipebinding 机制服务只能接收来自同一台机器的调用,所以管道名称是管道地址的唯一标识符字符串。我们只能在同一台机器上打开一个命名管道,所以两个命名管道地址不能在同一台机器上共享相同的管道名。
推荐阅读
- flutter - 如何防止后退按钮返回上一页
- plotly - 根据列值更改绘图标记形状/符号
- ruby-on-rails - 从数据库调用它以使用rails加载背景图像时从url中删除“/”
- python - 如何使用 exe 文件仅在本地部署烧瓶 GUI Web 应用程序?
- node.js - 我如何保持时间偏移?
- javascript - 使用nodejs fs.writeFile在文件中写入相同的格式
- arrays - 如何在 Julia 中获取数组的大小?
- c# - Firebase数据库数据提取排序问题
- javascript - 如何让源地图在 Webpack 中工作?
- javascript - 捕获异步函数中的错误并通过 jest 进行测试