Error loading RadChart image - happens randomly

Thread is closed for posting
2 posts, 0 answers
  1. tai tsan
    tai tsan avatar
    2 posts
    Member since:
    Aug 2009

    Posted 03 Oct 2011 Link to this post

    Hello,

    I am getting a pop window with the error, "Error Loading RadChart image"  You may wish to check the ASP.NET Trace for further details.  Display Stack Trace?"

    This happens on a dashboard page upon login, but when I navigate to the dashboard after navigating out, the error goes away and the page/chart is fine.

    It also seems to happen randomly, the error does not appear for the same user (same broswer IE 8) when I log out and log back in. 

    I'm not sure how to troubleshoot this because i can't seem to find any type of stack trace.  When i click OK to show the trace, it redirects to a page showing just the chart.  The error only happens once we deploy to our testing enviroment and does not happen in debug mode.

    I did a view source and saw this, but it doesn't really help.

    <img alt='' style='border-width: 0px;' usemap='#imctl00_ContentPlaceHolder1_EntityChart2_RadChart3' src='ChartImage.axd?UseSession=true&amp;ChartID=c4e9029e-4f90-430b-bba9-59118e55da78_chart_ctl00$ContentPlaceHolder1$EntityChart2$RadChart3&amp;imageFormat=Png&amp;random=0.966815818085715' onerror="if(confirm('Error loading RadChart image.\nYou may also wish to check the ASP.NET Trace for further details.\nDisplay stack trace?'))window.location.href=this.src;" /><input id="ctl00_ContentPlaceHolder1_EntityChart2_RadChart3_ClientState" name="ctl00_ContentPlaceHolder1_EntityChart2_RadChart3_ClientState" type="hidden" />
    Please provide some guidance on how we can troubleshoot this.

    Telerik.Web.Design.dll - 2009.02.0701.35
    Telerik.Web.UI.dll - 2009.02.0701.35
    IE 8
    IIS 6.0
    .NET 3.5 Framework
    Thanks
  2. Evgenia
    Admin
    Evgenia avatar
    1406 posts

    Posted 06 Oct 2011 Link to this post

    Hello Tai Tsan,

    There are various things that could lead to this problem. Can you try setting UseSession=false and set the TempFolder property to a folder where the ASP.NET process has read/write rights? Give this a try and let us know if the problem still persists.
    Also note that when using session the sessionState should be cookieless (cookieless property set to "false"), otherwise it would not work.

    Best wishes,
    Evgenia
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top