I have IPC set up for my remoting using config files.
I have the channel registered on the server as:
<channel ref="ipc" portName="server" authorizedGroup="Everyone">
I can successfully communicate with the server via a client on this IPC
channel (methods and properties) but when the server raises an event for the
client I get the following error:
"Failed to connect to an IPC Port: Access is denied."
In order to raise the events I am using an intermediate object that is
referenced from both the client and the server. On the server I am looping
through the invocation list for the multi-cast delegate in order to 'raise
the events' and that is where the error occurs. As soon as I attempt to
access a property of the registered client delegate [eg del.Target.ToString()
] I get the 'Access is denied' error.
Note that this works perfectly with tcp....
Any help is appreciated.
For anyone interested in this thread I have resolved the problem.
Basically, for two-way communication (server calling delegates on a client)
BOTH channels registered (server and client) require the authorizedGroup to
be set, and obviously the groups provided in the configs should allow access
both ways.
So my client config file now includes the following:
<channel ref="ipc" portName="client" authorizedGroup="Everyone"></channel>
Hope this helps someone get out of the rough and onto the green :)
> I have IPC set up for my remoting using config files.
> I have the channel registered on the server as:
[quoted text clipped - 15 lines]
>
> Any help is appreciated.