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

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

nak

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! :(
 
N

nak

Just to add, I've just tested by adding "NetworkService", "Network Service"
to the authorizedGroup property but still no joy.
 
N

nak

Balls! I've found it, I was including the current username in the IPC port!
What a nobend...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top