开发者

WCF over named pipes

开发者 https://www.devze.com 2022-12-08 16:02 出处:网络
Hi I have a problem with following scenario: There is a windows serv开发者_StackOverflow中文版ice running which spawns several processes. These processes open a WCF service host over a named pipe bin

Hi I have a problem with following scenario:

There is a windows serv开发者_StackOverflow中文版ice running which spawns several processes. These processes open a WCF service host over a named pipe binding. Now the parent windows service tries to ping (connect) to the child processes using the wcf proxy over the well known named pipe. This, however fails saying: "Endpoint not found"

If I run the parent process as a console application it works fine.

Any ideas? I was thinking about permissions but the child processes should inherit the permission of the service, besides they are in the same session as well.

thanks, Christoph


"Endpoint not found" could be that it cannot find the endpoint. Or it could be that it cannot find the configuration for the endpoint.

My best guess is that you are missing the client side configuration for the endpoint.


I don't have a solution, but the problem is that the service runs with elevated privileges, and therefore the client needs to be elevated too.

0

精彩评论

暂无评论...
验证码 换一张
取 消