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

Error loading Radchart Image

3 Answers 113 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Deon Visser
Top achievements
Rank 1
Deon Visser asked on 10 Aug 2009, 02:31 PM
Hi

I have seen a few threads about this topic. None have helped me.
I only get this error on my production server. It occurs randomly. ie sometimes the radchart will display correctly and sometimes I will get this error. There is no pattern to the error.

My web.config contains

http handlers section
<add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />

system.webserver section
<add name="ChartImage_axd" verb="*" preCondition="integratedMode" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" />

Is their anything else I need to do?

3 Answers, 1 is accepted

Sort by
0
Deon Visser
Top achievements
Rank 1
answered on 10 Aug 2009, 03:36 PM
Hi

I was looking into a session timeout error with Reportviewer and came up with this which solved both problems. Radchart as well as reortviewer is now working fine. It seems changing the session state in web.config to......

cookieless = "false"
mode = "StateServer"
timeout = "xx"

does the trick.
0
Ves
Telerik team
answered on 12 Aug 2009, 07:28 AM
Hello Deon,

The reason for this could be a web farm environment. The chart image is served by an HttpHandler, so it is possible that the page is handled by one machine and the httphandler request - by another. This way the httphandler will not be able to find the chart in the session. Setting the session state to state server mode ensures that the chart image is always found in the session.

Greetings,
Ves
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Deon Visser
Top achievements
Rank 1
answered on 12 Aug 2009, 01:55 PM

Hi Ves

Thank you for replying. No web farms though.

 

Regards

Tags
Chart (Obsolete)
Asked by
Deon Visser
Top achievements
Rank 1
Answers by
Deon Visser
Top achievements
Rank 1
Ves
Telerik team
Share this question
or