Rad drop down not working after moving the code to new server

2 posts, 0 answers
  1. vamsi
    vamsi avatar
    1 posts
    Member since:
    May 2014

    Posted 28 May 2014 Link to this post


    Moved the server to a new hosting, after moving the drop down is not working.

    When viewed from firebug we are getting the below error

    Server Error in '/' Application.

    Cannot perform CAS Asserts in Security Transparent methods

    Description: An unhandled exception occurred during
    the execution of the current web request. Please review the stack trace
    for more information about the error and where it originated in the

    Exception Details: System.InvalidOperationException: Cannot perform CAS Asserts in Security Transparent methods

    Source Error:

    An unhandled exception was generated during the execution of the current
    web request. Information regarding the origin and location of the
    exception can be identified using the exception stack trace below.

    Stack Trace:

    [InvalidOperationException: Cannot perform CAS Asserts in Security Transparent methods]
    System.Security.CodeAccessSecurityEngine.CheckNReturnSO(PermissionToken permToken, CodeAccessPermission demand, StackCrawlMark& stackMark, Int32 create) +0
    System.Security.CodeAccessSecurityEngine.Assert(CodeAccessPermission cap, StackCrawlMark& stackMark) +60
    System.Security.CodeAccessPermission.Assert() +28
    Telerik.Web.UI.ScriptAssemblyInfo.get_ModifiedTime() +170
    Telerik.Web.UI.CombinedScriptWriter.GetLastAssemblyModificationTime() +172
    Telerik.Web.UI.CombinedScriptWriter.WriteCombinedScriptFile() +1230
    Telerik.Web.UI.WebResource.ProcessRequest(HttpContext context) +74
    System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +341
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69

    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18449               
  2. Bozhidar
    Bozhidar avatar
    1146 posts

    Posted 02 Jun 2014 Link to this post


    I don't think the error you are receiving is caused by our RadDropDownList control. Switch the control to an ordinary ASP.DropDownList control and see if the issue disappears.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top