charts won't display consistently
Posted on 2012-08-14
I am using the ASP.NET chart control in my app. In development mode, it works fine. When I deploye it to my production site, the image displays as an X (missing image). If I try over and over, it seems to display about half of the time. The chart is generated through code. I have a number of these, and they all behave the same.
I know this is not a lot to go on, but am curious if a setting might be needed. I have the same entries in my web.config (dev and production). Tried both File and Session based. They behave the same.
<add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=188.8.131.52, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
<add key="ChartImageHandler" value="storage=session;deleteAfterServicing=true;timeout=20;" />