Christoph
Christoph

Reputation:

WCF over named pipes

Hi I have a problem with following scenario:

There is a windows service 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

Upvotes: 2

Views: 1347

Answers (2)

Jason Coyne
Jason Coyne

Reputation: 6636

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.

Upvotes: 0

Shiraz Bhaiji
Shiraz Bhaiji

Reputation: 65461

"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.

Upvotes: 0

Related Questions