In Visual Web Developer Express 2010 I created a default new ASP.NET Webapplication project. It runs OK in browser. Then I added a Chart control from Toolbox to the markup of Default.aspx (MainContent). However it fails when I try to see it in browser:
Error executing child request for ChartImg.axd
pieces from call stack:
System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm) +851
System.Web.UI.DataVisualization.Charting.ChartHttpHandler.EnsureInitialized(Boolean hardCheck) +250
System.Web.UI.DataVisualization.Charting.Chart.GetImageStorageMode() +24
System.Web.UI.DataVisualization.Charting.Chart.get_CurrentImageLocation() +40
System.Web.UI.DataVisualization.Charting.Chart.Render(HtmlTextWriter writer) +306
I tried adding some sample points to the chart in the markup but it still fails. I know only basics of ASP.NET but it looks strange to me that I get an exception just after adding a control so here I am.
I had worked on Chart Controls a long time back but seems like you are missing the entries of Chart Control Assemblies in web.config.