Medium trust RRS feed

  • Question

  • User943120663 posted

    Maby I missed something but is it not possible to use Validation Application Block under medium trust on a hosted server?

    I'll get: System.Security.SecurityException: That assembly does not allow partially trusted callers.

    And it's pointing to: <val:PropertyProxyValidator ID="NameValidator" runat="server" ...

    Friday, February 8, 2008 3:33 AM


  • User943120663 posted

    I added:

    [assembly: System.Security.AllowPartiallyTrustedCallers()]
    and recompied.
    Now it works! :) 


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, February 9, 2008 6:36 AM