IPC Communication, Web Service -> Client App, Can't find file

  • Thread starter Thread starter nak
  • Start date Start date
N

nak

Hi there,

I have a client app installed on my server that I want a Web Service to
connect to, unfortunately every time I attempt to connect I get told,

"Failed to connect to an IPC Port: The system cannot find the file
specified."

If I try with another client application it works just fine, it only
seems to fail from the Web Service, and I am using exactly the same block of
code to communicate. Any ideas why the Web Service can't find it?

I thought maybe it was something to do with Application Pools but I
don't seem to be able to connect no matter what App Pool I use. If anyone
has any suggestions I would be greatly appreciative, thanks.

Nick.
 
Aaah I found the problem, if I run the Web Service as the same user account
that is launching the client application it connects fine, so it's due to it
being called from a different account. I'm guessing that either my IPC code
is wrong or I need to get my client app running from 'Network Service' in
order to get this working correctly.

Doh! :(
 
Just to add, I've just tested by adding "NetworkService", "Network Service"
to the authorizedGroup property but still no joy.
 
Balls! I've found it, I was including the current username in the IPC port!
What a nobend...
 
Back
Top