Re: [ADVANCED-DOTNET] AddHandler runtime error on remoted singleton

2005-09-08 Thread Eric Means
A shim was how I ended up solving the problem last time I encountered it, for what it's worth; that way you don't have to copy every version of every client that might call the server to the server's directory (a maintenance nightmare). In some ways, Remoting is still unfinished, as you note. T

Re: [ADVANCED-DOTNET] AddHandler runtime error on remoted singleton

2005-09-08 Thread Mike Woodring
> Would an interface-only assembly in both places also work? No. The problem boils down to the fact that GetType() returns 'too much' information to the serialization infrastructure that's trying to decide what to do when a client does something like this (using events): class SomeClient : Marsh

Re: [ADVANCED-DOTNET] AddHandler runtime error on remoted singleton

2005-09-07 Thread Rob Perkins
On Wed, 7 Sep 2005 10:56:41 -0500, Eric Means <[EMAIL PROTECTED]> wrote: >When signing up for events from a remoted object, the server object needs to >have access to the client code in order to complete the event registration >(otherwise it doesn't know how to call the delegate when the event is

Re: [ADVANCED-DOTNET] AddHandler runtime error on remoted singleton

2005-09-07 Thread Rob Perkins
On Wed, 7 Sep 2005 10:40:42 -0600, Mike Woodring <[EMAIL PROTECTED]> wrote: >> When signing up for events from a remoted object, the server >> object needs to >> have access to the client code in order to complete the event >> registration >> (otherwise it doesn't know how to call the delegate whe

Re: [ADVANCED-DOTNET] AddHandler runtime error on remoted singleton

2005-09-07 Thread Mike Woodring
> When signing up for events from a remoted object, the server > object needs to > have access to the client code in order to complete the event > registration > (otherwise it doesn't know how to call the delegate when the event is > raised). You can do this a number of ways; the easiest is to > co

Re: [ADVANCED-DOTNET] AddHandler runtime error on remoted singleton

2005-09-07 Thread Eric Means
When signing up for events from a remoted object, the server object needs to have access to the client code in order to complete the event registration (otherwise it doesn't know how to call the delegate when the event is raised). You can do this a number of ways; the easiest is to copy the clie

[ADVANCED-DOTNET] AddHandler runtime error on remoted singleton

2005-09-06 Thread Rob Perkins
I'm getting the following error An unhandled exception of type 'System.Runtime.Serialization.SerializationException' occurred in mscorlib.dll Additional information: Cannot find the assembly SCQueueClientTest, Version=1.0.2074.15411, Culture=neutral, PublicKeyToken=null. ...when I attempt to ad