Welcome to the Xceed Community | Help
Community Search  
More Search Options

ChartServerControl1Failed to create designer

Sort Posts: Previous Next
  •  10-07-2010, 4:02 PM Post no. 28935

    ChartServerControl1Failed to create designer

    I am new the Xceed chart and have tried to set up a new basic project 

    I am using VS2010 on Windows 7 64bit Xceed Chart for aspx 4.3

    I followed the direction from post 20595 but when I place the contol on the page I get the following error

    Error Creating Control - ChartServerControl1Failed to create designer 'Xceed.Chart.Server.ChartServerControl, Xceed.Chart.Server.v4.3, Version=4.3.100.0, Culture=neutral, PublicKeyToken=ba83ff368b7563c6' 

    Any assistance would be appreciated

    Ken

    Filed under: ,
  •  10-12-2010, 9:16 AM Post no. 28951 in reply to 28935

    Re: ChartServerControl1Failed to create designer

    Hi Ken,

    Can you please send us the stack trace of the exception so that we can investigate further?


    Regards,

    Alain Jreij,

    Web Developer,

    Xceed Software Inc
  •  10-12-2010, 12:25 PM Post no. 28952 in reply to 28951

    Re: ChartServerControl1Failed to create designer

    When I run the app befor adding the chart control it run ok.

    When I add the chart control is displays the original error then if you attempt to run it you get the following  

     

    Server Error in '/' Application.

    A generic error occurred in GDI+.

    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.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.

    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:

    [ExternalException (0x80004005): A generic error occurred in GDI+.]
       System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams) +461268
       System.Drawing.Image.Save(String filename, ImageFormat format) +69
       Xceed.Chart.GraphicsCore.ImageDescription.SaveImage(Bitmap bitmap, String sFullFileName) +88
       Xceed.Chart.Server.Response.GenerateImage(ChartServerControl Chart, String sFileName, String sPhysicalTempDirectory, Size szDimensions, ImageDescription imageDescription) +218
       Xceed.Chart.Server.ImageResponse.EmbedInHtml(ChartServerControl chartControl, Size szDimensions, HtmlTextWriter output) +459
       Xceed.Chart.Server.ChartServerControl.Render(HtmlTextWriter output) +240
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
       System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +173
       System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +31
       System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +53
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
       System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
       System.Web.UI.Page.Render(HtmlTextWriter writer) +29
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3060
    


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

    The code from the page is as follows

    <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="ChartTest.aspx.vb" Inherits="TestChartASP.ChartTest" %>

    <%@ Register assembly="Xceed.Chart.Server.v4.3" namespace="Xceed.Chart.Server" tagprefix="xceedchart" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head runat="server">

    <title></title>

    </head>

    <body>

    <form id="form1" runat="server">

    <div>

     

    <xceedchart:ChartServerControl ID="ChartServerControl1" runat="server">

    </xceedchart:ChartServerControl>

     

    </div>

    </form>

    </body>

    </html>

View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.