Remoting Deserialization Error

Posted on 2004-11-12
Last Modified: 2006-11-17
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?

Question by:razziel
    LVL 20

    Expert Comment

    Set the BinaryServerFormatterSinkProvider object TypeFilterLevel property to have access.
    LVL 20

    Accepted Solution

    Sorry..I'm not a good typer.

    Set the BinaryServerFormatterSinkProvider object TypeFilterLevel property to have Full access.

    Author Comment

    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. :(

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
    Article by: Ivo
    C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now