Which machine is getting the exception (client or server; and if server - is
it crashing the server or is the exception getting serialized back to the
client for processing).

My guess is that you don't have the assemblies in the right spot.  Since the
MBV type needs to be deserialized on the client's machine, the assembly
containing the MBV type needs to be present and "findable" according to the
rules of assembly resolution...

-Mike
http://staff.develop.com/woodring
http://www.develop.com/devresources

----- Original Message -----
From: "Stan LaRue" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 04, 2002 12:39 PM
Subject: Re: [DOTNET] Remoting question


> FileNotFoundException if I remember correctly (I dont have access to the
> code right now). I should also mention that the MBR is an object factory
> that is attempting to return the MBV object through an interface.
>
> Stan
>
>
> On Tue, 4 Jun 2002 10:04:42 -0600, Mike Woodring <[EMAIL PROTECTED]>
> wrote:
>
> >Sure, it's possible.  Just make sure the type you're returning is marked
> >[Serializable].  What kind of failure are you getting
> >(SerializationException, FileNotFoundException, etc...)?
> >
> >-Mike
> >http://staff.develop.com/woodring
> >http://www.develop.com/devresources
> >
> >----- Original Message -----
> >From: "Stan LaRue" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Tuesday, June 04, 2002 9:18 AM
> >Subject: [DOTNET] Remoting question
> >
> >
> >> Could someone please tell me if it is possible for a method in a
> >> MarshalByRefObj to return a marshal by value object? I've tried but I
> >can't
> >> seem to make it work. So I am assuming it is not possible.
> >>
> >>
> >> Stan
> >>
> >> You can read messages from the DOTNET archive, unsubscribe from DOTNET,
> or
> >> subscribe to other DevelopMentor lists at http://discuss.develop.com.
> >>
> >
> >You can read messages from the DOTNET archive, unsubscribe from DOTNET,
or
> >subscribe to other DevelopMentor lists at http://discuss.develop.com.
>
> You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
> subscribe to other DevelopMentor lists at http://discuss.develop.com.
>

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to