T
Tiberiu Covaci[MCAD.NET]
Hi all,
I'm trying to create 2 applications that communicate via Remoting. I'm using
..NET 2.0. If I'm declaring a method that takes a parameter of type delegate,
then the application will crash with a SecurityException, that the zone
MyComputer is not allowed to execute this piece of code. If I'm using a
MarshalByRef object, that wraps this delegate I got another kind of
exception :
System.Runtime.Serialization.SerializationException: Because of security
restrictions, the type System.Runtime.Remoting.ObjRef cannot be
accessed. ---> System.Security.SecurityException: Request
failed.System.Security.Permissions.SecurityPermission(Flags="Infrastructure")...
Does anyone have any iedas?
Best regards,
Tiberiu Covaci
I'm trying to create 2 applications that communicate via Remoting. I'm using
..NET 2.0. If I'm declaring a method that takes a parameter of type delegate,
then the application will crash with a SecurityException, that the zone
MyComputer is not allowed to execute this piece of code. If I'm using a
MarshalByRef object, that wraps this delegate I got another kind of
exception :
System.Runtime.Serialization.SerializationException: Because of security
restrictions, the type System.Runtime.Remoting.ObjRef cannot be
accessed. ---> System.Security.SecurityException: Request
failed.System.Security.Permissions.SecurityPermission(Flags="Infrastructure")...
Does anyone have any iedas?
Best regards,
Tiberiu Covaci