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

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

1 Answer 73 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
vamsi
Top achievements
Rank 1
vamsi asked on 28 May 2014, 09:30 AM
Hi,

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
code.





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               

1 Answer, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 02 Jun 2014, 05:52 AM
Hi,

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.

Regards,
Bozhidar
Telerik
 

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.

 
Tags
DropDownList
Asked by
vamsi
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Share this question
or