SecurityException when passing an MBR param remotely

  • Thread starter Thread starter Marc Lewandowski
  • Start date Start date
M

Marc Lewandowski

Hi all,

I'm having an issue with passing a client-activated MBR object as a
parameter to a well-known (singleton) class method. The error I'm getting
is:

Experiments.Remoting.Client.Fixture.PushPop :
System.Runtime.Serialization.SerializationException : Because of security
restrictions, the type System.Runtime.Remoting.ObjRef cannot be accessed.
----> System.Security.SecurityException : Request failed.

Judging from the docs, my code apparently doesn't have infrastucture
permissions, but my attempts to assert the appropriate SecurityPermission
resulted in the same error.

Thanks in advance,
-Marc
 
I had the same exceptions on a call between two machines, one with framework
1.0 and the other with framework 1.1. Upgrading all machines to framework
1.1 solves me the problem.
 
Back
Top