We have a page that uses a RadChart, and it works fine so long as we have the site's web.config populated with two separate handlers as detailed in the IIS7 and IIS5/6/7 sections
here.
To summarize, it says to put this in in the system.webserver/handlers section for IIS7:
<add name="ChartImage.axd_*" path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode,runtimeVersionv2.0" />
And to put this in the system.web/httphandlers section for IIS6:
<add verb="*"path="ChartImage.axd"type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />
We have added these sections and the control works fine.
The problem is that removing either of these config blocks causes the RadChart to break. We are running in IIS7 integrated mode. Only the handler in the system.webserver/handlers section should matter, but that is not the case.
If we remove just the httphandler from the system.web IIS6 section, the RadChart renders with this message:
The Chart http handler is not registered. Please, manually add the following line to your Web.config httpHandlers section:
<add
path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler,
Telerik.Web.UI, Version=2009.2.826.35, Culture=neutral,
PublicKeyToken=121fae78165ba3d4" validate="false" />
If we remove just the handler from the system.webserver IIS7 section, we get a javascript pop window that says "Error loading RadChart image."
I don't understand how it is using both handlers. It should be using either the system.webserver IIS7 integrated mode handler or the system.web IIS6/non-integrated httphandler. In our case, since we are running IIS7 integrated, we should only have to specify the one handler.
Furthermore, we are using the Rad HTML editor control which requires the DialogHandler and the SpellCheckHandler, and it works totally fine when we specify the handlers in only the system.webserver IIS7 section. What is different about RadChart?
Thank you.