Re: Calling delegate on client raises a RemotingException

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: mdb (m_b_r_a_y_at_c_t_i_u_s_a__d0t__com)
Date: 11/11/04


Date: Thu, 11 Nov 2004 07:00:17 -0800


"Jeremy Chapman" <NoSpam@Please.com> wrote in
news:#iU6LK3xEHA.3976@TK2MSFTNGP09.phx.gbl:

> I set a delegate on my remotable object but when the server side tries
> to call the delegate method, I get the exception:
>
> System.Runtime.Remoting.RemotingException: This remoting proxy has no
> channel sink which means either the server has no registered server
> channels that are listening, or this application has no suitable
> client channel to talk to the server.

I'm new to remoting, but I'll take a stab... On your client application,
what port number are you using when you register the TcpChannel? If its
'0' (ie any available port) that might be the problem. The '0' port is
good enough for getting results of calls that you make to the server, but
its not good enough for receiving messages initiated by the server.
Register with an actual port number.

-mdb



Relevant Pages

  • Re: Setting exclusiveAddressUse = false
    ... We have encapsulated an older STA active x control inside a console ... server endpoint at port. ... We need these individual app domains to communicate on the same port as the ... setting the channel property= false should allow this ...
    (microsoft.public.dotnet.framework.remoting)
  • Concept Clarification : Registering Client on Different Port
    ... After doing battle with remoting events, ... That is - the server's channel is registered on one port, ... no registered server channels that are listening, ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Early morning (for me) chat?
    ... or on an IRC client: ... Server: irc.penguinpowered.ca ... Port 6667 ... channel ID: #rec.pets.cats.anecdotes ...
    (rec.pets.cats.anecdotes)
  • Re: Early morning (for me) chat?
    ... or on an IRC client: ... Server: irc.penguinpowered.ca ... Port 6667 ... channel ID: #rec.pets.cats.anecdotes ...
    (rec.pets.cats.anecdotes)
  • Re: HAT debugging issue
    ... "This remoting proxy has no channel sink which means either the server has no registered server channels that are listening, or this application has no suitable client channel to talk to the server." ...
    (microsoft.public.biztalk.general)