Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Remoting Problems...

Remoting Problems...

Scheduled Pinned Locked Moved .NET (Core and Framework)
questionsysadminhelpworkspace
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jnewman
    wrote on last edited by
    #1

    I am trying to call a delegate from a wellknown object, that has had a method added via the remoting client and recieved the following error: 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 only get this error if try to use a delegate for client callback from the wellknown object. If I strip out the delegate and event call from the wellknown object and remove the event handler from the client side... 1 way communication from client(s) to server works fine. NOTE: I have also added a binary formatter with typeFilterLevel="Full" to the channel configuration, and made the client object serializable. So my question is... How do I make the server object notify its clients that one of them has sent a message to the server, and what the contents of the message is? (message is a simple string at this point) Could someone point me in the right direction please... A word or two as to how i might accomplish this task...

    G 1 Reply Last reply
    0
    • J jnewman

      I am trying to call a delegate from a wellknown object, that has had a method added via the remoting client and recieved the following error: 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 only get this error if try to use a delegate for client callback from the wellknown object. If I strip out the delegate and event call from the wellknown object and remove the event handler from the client side... 1 way communication from client(s) to server works fine. NOTE: I have also added a binary formatter with typeFilterLevel="Full" to the channel configuration, and made the client object serializable. So my question is... How do I make the server object notify its clients that one of them has sent a message to the server, and what the contents of the message is? (message is a simple string at this point) Could someone point me in the right direction please... A word or two as to how i might accomplish this task...

      G Offline
      G Offline
      Guillermo Rivero
      wrote on last edited by
      #2

      Take a look at this article http://www.codeproject.com/csharp/RemotingAndEvents.asp Free your mind...

      J 1 Reply Last reply
      0
      • G Guillermo Rivero

        Take a look at this article http://www.codeproject.com/csharp/RemotingAndEvents.asp Free your mind...

        J Offline
        J Offline
        jnewman
        wrote on last edited by
        #3

        :-D Thanks... I have since decided i was barking up the wrong tree :doh:, trying to use remoting for this task. It was really easy to do what i wanted with the System.Net stuff... I could not believe how easy it was... Ofcourse had it not been for code project it would have taken me a lot longer to figure this out... [Great article] http://www.codeproject.com/csharp/socketsincs.asp?target=AsyncCallback When all else fails... Read the instructions...

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups