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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top