Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. About AspxGauges

About AspxGauges

Scheduled Pinned Locked Moved ASP.NET
helpasp-netdesignsysadmindata-structures
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    haluk_78
    wrote on last edited by
    #1

    Hello guys, There is a problem that I added a few AspxGauges to my project. I set the customize Gauge control and save them out as XML. The page load is below:

        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"));
                
        }
    

    However, I got this error after I sent it to the server: 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

    T 1 Reply Last reply
    0
    • H haluk_78

      Hello guys, There is a problem that I added a few AspxGauges to my project. I set the customize Gauge control and save them out as XML. The page load is below:

          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"));
                  
          }
      

      However, I got this error after I sent it to the server: 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

      T Offline
      T Offline
      taha bahraminezhad Jooneghani
      wrote on last edited by
      #2

      I think you are running into CASPOL issues as your content resides on a remote share see this link: "System.Security.SecurityException: Security error" error message when the virtual directory points to a remote share in ASP.NET[^]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups