Remoting troubles :(
-
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.... :) -
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.... :)