Error loading RAD Chart Image

Thread is closed for posting
3 posts, 0 answers
  1. Satish
    Satish avatar
    2 posts
    Member since:
    Sep 2014

    Posted 05 Sep 2014 Link to this post


    We are using RAD Chart control to display bar graphs in our ASP.NET web application which worked fine on Dev and QA servers. But when it was moved to production box, it worked fine first day but next day it started giving error "Error Loading Chart Image". Please find the trace below for your reference

    Request path: /OneViewDashboard/ChartImage.axd    User host address:    User: PMSI\SeK4211    Is authenticated: True    Authentication Type: Negotiate    Thread account name: PMSI\oneviewprodsvc Thread information:    Thread ID: 50    Thread account name: PMSI\oneviewprodsvc    Is impersonating: False    Stack trace:    at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)   at Telerik.Web.UI.ChartHttpHandler.ProcessRequest(HttpContext context)   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    Please note that it started working after restarting application pool but need to know what could have caused this issue. Thanks in advance.

  2. Satish
    Satish avatar
    2 posts
    Member since:
    Sep 2014

    Posted 05 Sep 2014 in reply to Satish Link to this post

    Just forgot to mention that, I have added httphandlers in the web config file as below.

          <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
          <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
        <sessionState mode="InProc"></sessionState>
  3. Danail Vasilev
    Danail Vasilev avatar
    1502 posts

    Posted 09 Sep 2014 Link to this post

    Hi Satish,

    Please refer to this forum post that sheds more light on the matter.

    I can also suggest that you try the newer RadHtmlChart control that renders entirely on the client instead of the obsolete RadChart. Also in the newer control this error is not feasible.

    Danail Vasilev

    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.

Back to Top