Security exception for Radmenu control - assembly does not allow partially trusted callers

2 posts, 0 answers
  1. Jay
    Jay avatar
    1 posts
    Member since:
    Aug 2010

    Posted 09 Aug 2010 Link to this post



    I am currently using trial version of Telerik Menu control and I am getting some strange error.


    My ASP.NET 2.0 application interacts with commerce server and SharePoint 2007. When I do a post back using normal ASP.NET button control I can read data from commerce server but when I postback using RAD Menu control I get a security exception when interacting with Commerce server. The exception is “assembly does not allow partially trusted callers” and source is "mscorlib".


    We are planning to buy Telerik control but before that we need to get rid of this error.


    I have added following line in my web.config file


    <SafeControl Assembly="Telerik.Web.UI, Version=2010.1.519.20, Culture=neutral, PublicKeyToken=bbe59a8ad3533e68" Namespace="Telerik.WebControls" TypeName="*" Safe="True" />



    Here is how I have registered telerik assembly on my page


    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>



    Can you please let us know how can we fix this issue?

  2. T. Tsonev
    T. Tsonev avatar
    2834 posts

    Posted 12 Aug 2010 Link to this post

    Hello Jay,

    Thank you for your interest in our products.

    Have you tried deploying the Telerik assembly to the GAC? Does this help?

    Can we see the full stack trace of the error?

    Best wishes,
    Tsvetomir Tsonev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top