Error loading Radchart Image

Thread is closed for posting
4 posts, 0 answers
  1. Deon Visser
    Deon Visser avatar
    7 posts
    Member since:
    Jul 2009

    Posted 10 Aug 2009 Link to this post

    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?
  2. Deon Visser
    Deon Visser avatar
    7 posts
    Member since:
    Jul 2009

    Posted 10 Aug 2009 Link to this post

    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.
  3. Ves
    Admin
    Ves avatar
    2927 posts

    Posted 12 Aug 2009 Link to this post

    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.
  4. Deon Visser
    Deon Visser avatar
    7 posts
    Member since:
    Jul 2009

    Posted 12 Aug 2009 Link to this post

    Hi Ves

    Thank you for replying. No web farms though.

     

    Regards

Back to Top