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

Error loading RAD Chart Image

2 Answers 100 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Satish
Top achievements
Rank 1
Satish asked on 05 Sep 2014, 06:22 AM
Freinds,

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: 172.21.253.97    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.

Thanks,
Satish 

2 Answers, 1 is accepted

Sort by
0
Satish
Top achievements
Rank 1
answered on 05 Sep 2014, 06:49 AM
Just forgot to mention that, I have added httphandlers in the web config file as below.

<system.web>
<httpHandlers>
      <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" />
    </httpHandlers>
    <sessionState mode="InProc"></sessionState>
 </system.web> 
0
Danail Vasilev
Telerik team
answered on 09 Sep 2014, 10:38 AM
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.

Regards,
Danail Vasilev
Telerik
 

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.

 
Tags
Chart (Obsolete)
Asked by
Satish
Top achievements
Rank 1
Answers by
Satish
Top achievements
Rank 1
Danail Vasilev
Telerik team
Share this question
or