Link to home
Start Free TrialLog in
Avatar of razziel
razziel

asked on

Remoting Deserialization Error

Hi im trying to develop a distributed application, im using .net remoting. I have a service class (derived from MarshalbyRef) from wich i call a method named Update wich takes as a parameter a Serialized class. The problem is that im getting the following error:

Type System.DelegateSerializationHolder and the types derived from it (such as System.DelegateSerializationHolder) are not permitted to be deserialized at this security level.
And VS directs me to some code access security help files.

Any ideas?

thanks
Avatar of ihenry
ihenry

Set the BinaryServerFormatterSinkProvider object TypeFilterLevel property to have access.
ASKER CERTIFIED SOLUTION
Avatar of ihenry
ihenry

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of razziel

ASKER

Yup i did that and it worked. thanks
But i shouldnt requiere Full access for what im doing. Now my app is exposed to the security threats asociated with having Full TypeFilterLevel. :(