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

Security Exception on mypage.aspx page

1 Answer 40 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kannan
Top achievements
Rank 1
Kannan asked on 20 May 2010, 11:12 AM

Hai all,

I got an error while redirect to mypage.aspx .how to solve this problem and  i want to know the reason for this problem.

Server Error in '/lms' Application.

Security Exception

Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request failed.

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:

[SecurityException: Request failed.]
Telerik.Web.UI.StringToObjectTypeConverter.ConvertTo(ITypeDescriptorContext context, CultureInfo culture, Object value, Type destinationType) +0
System.ComponentModel.TypeConverter.ConvertTo(Object value, Type destinationType) +16
System.Web.Compilation.CodeDomUtility.GenerateExpressionForValue(PropertyInfo propertyInfo, Object value, Type valueType) +432
System.Web.UI.SimplePropertyEntry.GetCodeStatement(BaseTemplateCodeDomTreeGenerator generator, CodeExpression ctrlRefExpr) +125
System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildBuildMethodInternal(ControlBuilder builder, Type ctrlType, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse, CodeStatementCollection statements, Boolean fStandardControl, Boolean fControlFieldDeclared, String deviceFilter, Boolean fControlSkin) +2407
System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildBuildMethod(ControlBuilder builder, Boolean fTemplate, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse, Boolean fControlSkin) +536
System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) +1187
System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) +1051
System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) +1051
System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) +1051
System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) +552
System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) +552
System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) +552
System.Web.Compilation.TemplateControlCodeDomTreeGenerator.BuildMiscClassMembers() +61
System.Web.Compilation.PageCodeDomTreeGenerator.BuildMiscClassMembers() +12
System.Web.Compilation.BaseCodeDomTreeGenerator.BuildSourceDataTree() +920
System.Web.Compilation.BaseCodeDomTreeGenerator.GetCodeDomTree(CodeDomProvider codeDomProvider, StringResourceBuilder stringResourceBuilder, VirtualPath virtualPath) +45
System.Web.Compilation.BaseTemplateBuildProvider.GenerateCode(AssemblyBuilder assemblyBuilder) +102
System.Web.Compilation.AssemblyBuilder.AddBuildProvider(BuildProvider buildProvider) +99


Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.4049

1 Answer, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 21 May 2010, 09:38 AM
Hi,

Please review the following forum thread for more information on this issue - http://www.telerik.com/community/forums/aspnet/general-discussions/description-the-application-attempted-to-perform-an-operation-not-allowed-by-the-security-policy-to-grant-this-application-the-required-permission-ple.aspx

Kind regards,
Lini
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
General Discussions
Asked by
Kannan
Top achievements
Rank 1
Answers by
Lini
Telerik team
Share this question
or