Thanks in advance for any pointers or help you can provide...
I am rather new to all this so forgive any newbie mistakes...
I have a WinNT Service written in C#. Once it starts up, it exports an
IPC-based remote object interface to permit another component of my application
(a C# Windows Forms application) to use the service as a proxy of sorts.
The Service runs in the LocalSystem account. The Windows Forms application is
running on the same machine but on the user's desktop.
When I attempt to access the remote object's method, I get an exception thrown
when the attempt is made to connect to the IPC port. It reads, "failed to
connect to an IPC port: access is denied".
Using SysInternals' ProcessExplorer, I have taken a look at the IPC which the
service has made available. I can see that its security permissions on the
named pipe basically grants all to the System account. But it denies all to
Network. There are no other accounts/groups listed.
From the above it seems to make sense that my application cannot connect to
complete the remote call. The question is, what is needed to permit this call
to complete and how do I do it?
Cheers.
David White - 28 Mar 2006 02:39 GMT
Thanks, found the answer myself. I needed to create the server channel using
one of the constructors that takes a dictionary argument. In that dictionary I
needed a name/value set = authorizedGroup/Everyone. Cheers!
> Thanks in advance for any pointers or help you can provide...
>
[quoted text clipped - 23 lines]
>
> Cheers.