I am using the new free .net chart controls and they appear to work fine when I run the project up in visual studio, but when hitting the same via IIS I get and exception:
[HttpException (0x80004005): No http handler was found for request type 'GET']
System.Web.HttpApplication.MapIntegratedHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig, Boolean convertNativeStaticFileModule) +529
System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm) +947
[HttpException (0x80004005): Error executing child request for ChartImg.axd.]
System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm) +4120098
System.Web.UI.DataVisualization.Charting.ChartHttpHandler.EnsureInitialized(Boolean hardCheck) +266
System.Web.UI.DataVisualization.Charting.Chart.GetImageStorageMode() +25
System.Web.UI.DataVisualization.Charting.Chart.Render(HtmlTextWriter writer) +133
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +253
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +87
System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +53
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
System.Web.UI.Page.Render(HtmlTextWriter writer) +38
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4240
Any idea what I'm doing wrong? Thanks!
Best Solution
Found a solution (sort of)
Solution: It looks like I had the httpHandler correct in the web.config, but I was missing a hander and a appSetting (detailed in second post here). Once I got those sorted out it works fine.
Missing Point: Just not sure why that WOULD work when running it with visual studio. Figure without those setting is should have failed in both environments (visual studio and iis). Curious.
Thanks for everyone's help in pointing in some good directions.