"Requested Service not found" while event call to the absent client

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi All,

If the client was closed improperly ( for example by task manager ),
the server tries to call the usual event and throws exeption

System.Runtime.Remoting.RemotingException Requested Service not found

Server stack trace: at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage...

Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)...


What is the recommended way of managing such a situations?
How to recognize the dead links in the invocation list without calling them?

Aleksey.





.