Pass an object to a server by reference

  • Thread starter Thread starter Fang
  • Start date Start date
F

Fang

I try to pass an object to a server by reference in
remoting, but I got a SerializationException. Using
debugger I got following error message,

An unhandled exception of
type 'System.Runtime.Serialization.SerializationException'
occurred in mscorlib.dll

Additional information: Because of security restrictions,
the type System.Runtime.Remoting.ObjRef cannot be
accessed.

What happened and how do I fix it? Any help would be
appreciated.

Thanks

Fang
 
Back
Top