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. Visual Basic
  4. Remoting troubles :(

Remoting troubles :(

Scheduled Pinned Locked Moved Visual Basic
helpwcfsysadminxmljson
2 Posts 1 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.
  • W Offline
    W Offline
    WillemM
    wrote on last edited by
    #1

    I have written a remoting project for the 1000 (I stopped counting) time. And still I can't get the events to work... the rest works fine, but when I add an eventhandler to my app I get this error: Cannot find the assemblu ChatClient, Version=.... Curlture=neutral, PublicKeyToken=null. This is appearantly my client assembly, but I don't get it why! Can somebody tell me what the problem is? Code for the client: channel = New TcpChannel ChannelServices.RegisterChannel(channel) mgr = CType(Activator.GetObject(GetType(ClassOne), "http://localhost:89/Chat.soap"), ClassOne) AddHandler mgr.OnTextReceived, AddressOf mgrTextReceived Code for the server: RemotingConfiguration.Configure("chatserver.exe.config") Greetings.... :)

    W 1 Reply Last reply
    0
    • W WillemM

      I have written a remoting project for the 1000 (I stopped counting) time. And still I can't get the events to work... the rest works fine, but when I add an eventhandler to my app I get this error: Cannot find the assemblu ChatClient, Version=.... Curlture=neutral, PublicKeyToken=null. This is appearantly my client assembly, but I don't get it why! Can somebody tell me what the problem is? Code for the client: channel = New TcpChannel ChannelServices.RegisterChannel(channel) mgr = CType(Activator.GetObject(GetType(ClassOne), "http://localhost:89/Chat.soap"), ClassOne) AddHandler mgr.OnTextReceived, AddressOf mgrTextReceived Code for the server: RemotingConfiguration.Configure("chatserver.exe.config") Greetings.... :)

      W Offline
      W Offline
      WillemM
      wrote on last edited by
      #2

      a BIG d0h for me :P I found the solution and it was too obvious to be true :D Greetings.... :)

      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