Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remoting archictecture question
Message
From
21/04/2002 03:25:22
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Remoting archictecture question
Miscellaneous
Thread ID:
00647307
Message ID:
00647307
Views:
41
Hello,

I would like to confirm my understanding. I have created
a remote object dll and exposed it using a simple console
server using a tcp channel - port 8080. I have a VB
client which registers and uses this remote object. In
the VB client, I don't see any problem in calling the
remote object public properties or delegates or Async
delegate calls. But, when I try to subscribe an Event
exposed by the remote object using AddHandler statement,
the CLR throws System.IO.IOFileNotFound exception. After
debugging this problem for more than a week, I found that
the remoting server was trying to load the client assembly
whenever a AddHandler call is initiated from the client.
I was able to overcome this error and successfully
subscribe and handle events in the client by simply
copying the client exe in the same directory as the Remote
object host application. What does this mean ? does the
remoting network require client assembly (.dll or .exe)if
it needs to supports events. I personally feel it would
be too expensive because in an ideal situation there will
be one remote object hosted on a server and different
client objects that use the remote object. Am I doing
something wrong or Is there something which I am missing
to do ? Please advice.

thanks in advance.

Regards,
Swamy

P.S: I can try to explain if you feel the problem
description is too confusing.
Reply
Map
View

Click here to load this message in the networking platform