[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 253
  • Last Modified:

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
0
razziel
Asked:
razziel
  • 2
1 Solution
 
ihenryCommented:
Set the BinaryServerFormatterSinkProvider object TypeFilterLevel property to have access.
0
 
ihenryCommented:
Sorry..I'm not a good typer.

Set the BinaryServerFormatterSinkProvider object TypeFilterLevel property to have Full access.
0
 
razzielAuthor Commented:
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. :(
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now