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

Error loading RadChart image - happens randomly

1 Answer 126 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
tai tsan
Top achievements
Rank 1
tai tsan asked on 04 Oct 2011, 01:43 AM
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

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 06 Oct 2011, 03:57 PM
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
Tags
Chart (Obsolete)
Asked by
tai tsan
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or