protected void Page_Load(object sender, EventArgs e) { this.gauges_yil.RestoreLayoutFromXml(MapPath("~/aspx/gauges_yil.xml")); this.gauges_m2.RestoreLayoutFromXml(MapPath("~/aspx/gauges_m2.xml")); this.gauges_kasa.RestoreLayoutFromXml(MapPath("~/aspx/gauges_kasa.xml")); this.ASPxGaugeControl4.RestoreLayoutFromXml(MapPath("~/aspx/ASPxGaugeControl4.xml")); this.ASPxGaugeControl5.RestoreLayoutFromXml(MapPath("~/aspx/ASPxGaugeControl5.xml")); this.ASPxGaugeControl6.RestoreLayoutFromXml(MapPath("~/aspx/ASPxGaugeControl6.xml")); }
Server Error in '/' 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.] DevExpress.XtraGauges.Core.Resources.PointF2DConverter.ConvertTo(ITypeDescriptorContext context, CultureInfo culture, Object value, Type destinationType) +0 System.Web.Compilation.CodeDomUtility.GenerateExpressionForValue(PropertyInfo propertyInfo, Object value, Type valueType) +587 System.Web.UI.SimplePropertyEntry.GetCodeStatement(BaseTemplateCodeDomTreeGenerator generator, CodeExpression ctrlRefExpr) +136
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)