asp.net - Adding an ajax control toolkit accordion to a page throws a security exception -


I have my web This line is declared in the config file:

  & lt; Add tagPrefix = "Ajax" namespace = "Ajax controlToolkit" assembly = "Ajax controlToolkit" />  

When I add an AJAX: Eardron for my webpage, I get the following error message:

Security exceptions

Description: Application No attempt is made by security policy to try. Please contact your system administrator for this application's required permissions or change the trust level of the application in the configuration file.

Exception Description: System.Security.SecurityException: Request failed for permission of 'System.Web.AspNetHostingPermission, System, Version = 2.0.0.0, Culture = Neutral, PublicKeyToken = b77a5c561934e089'.

If I comment on Ajax: Accordion, the error disappears.

Try setting the

  in your web.config below & Lt; System.web & gt; & Lt; Belief Level = "Full" Genesis = "" /> & Lt; /system.web>  

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -