I’ve added the new Chart control to my project and it works well. I’ve set the
<add key="ChartImageHandler" value="storage=memory;timeout=20;" />
<handlers>
<add name="ChartImg" verb="*" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</handlers>
Everything is fine as long as I use the “/host/Poll.aspx” path in my browser. Things break when switching over to the rewritten URL “host/poll/”. I am getting the “System.Web.HttpException was unhandled by user code
Message=Error executing child request for ChartImg.axd.” exception.
Any ideas how to fix it? Thank you very much!
I cant actually try this at the moment but how about “~/ChartImg.axd”
Failing that try using image locations
Edit: And update your chart html
And make sure the directory you are writing to exists. I normally do this on app start in the global