This is a migrated thread and some comments may be shown as answers.

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

1 Answer 50 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 1
Jay asked on 09 Aug 2010, 08:58 AM

Hello,

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?

1 Answer, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 12 Aug 2010, 02:10 PM
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
Tags
Menu
Asked by
Jay
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question
or