没有端点在net.pipe://localhost/“处侦听可以接受该消息.这通常是由不正确的地址或SOAP操作引起的.

问题描述:

我收到没有端点监听"消息.与服务器通信时发生异常
(在用户上下文中运行)(从客户端运行)(在系统上下文中运行).

I am receiving "there was no endpoint listening" exception while communicating with server
(it runs under user context)from client(runs in system context).

如果服务器和客户端都在系统上下文或用户上下文中运行,我不会收到异常.我仅在用户上下文中的服务器和系统上下文中的客户端的情况下接收消息.

I am not receiving exception if both server and client runs in system context or in user context. i am receiving only if the server in user context and client in system context.

我也尝试过在操作合同中提出模拟请求,但并不能解决问题.

I tried, impersonation request in the operation contract as well, it didn't solve the problem.

需要帮助.

谢谢.

Venkat.

Windows桌面,Windows Phone开发人员.

Windows Desktop, Windows Phone developer.

好吧,如果您知道localhost的含义,那么您应该能够弄清楚自己不知道在客户端试图与服务联系的127.0.0.1上没有端点列表.那是预期的在127.0.0.1上运行并收听 -本地主机.
Well if you know what localhost means then you should be able to figure it out that you don't have an endpoint listing on 127.0.0.1 where the client is trying to contact the service  that is expected  to be running and listening on 127.0.0.1 -- localhost.