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

Error image.aspx

1 Answer 53 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
maternag
Top achievements
Rank 1
maternag asked on 14 May 2008, 02:15 PM

Hello,

I have this error that keeps occuring.

Do you have any idea what could be the cause of it?


Application_Error - Offending URL: http://mywebsite/RadControls/Chart/Image.aspx - Source: System.Web - Message: Value cannot be null.
Parameter name: key - Stack trace:    at System.Web.Caching.CacheInternal.DoGet(Boolean isPublic, String key, CacheGetOptions getOptions)
   at System.Web.Caching.Cache.get_Item(String key)
   at Telerik.WebControls.Dialogs.ChartImage.Page_Load(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 16 May 2008, 07:16 AM
Hi maternag,

RadChart stores its image in the cache for 5 minutes. If the image is requested during these 5 minutes, the timing is restarted, i.e. the image will be stored in the cache for another 5 minutes. It seems that the image has been requested after these 5 minutes have been elapsed. However, if the page with the chart has been requested, a new image should have been generated, so this error should not appear.

How often does this error occur? Can you provide more details about your scenario? Do you have a page with RadChart and another page which points to the chart in the first one by any chance?

Best wishes,
Ves
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Chart (Obsolete)
Asked by
maternag
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or