I have added asp chart controls in my website project and it has been working fine. But when I deploy it in production server and try to run in IIS 7, it throws an error "No http handler was found for request type 'POST'" and
[HttpException (0x80004005): No http handler was found for request type 'POST']
...................
[HttpException (0x80004005): Error executing child request for ChartImg.axd.]
.....................
The website worked fine when there was no chart control. This is how my web.config file is:
<configuration>
<appSettings>
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;"/>
</appSettings>
<connectionStrings>
</connectionStrings>
<system.web>
<httpHandlers>
<add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVisualization.Charting.ChartHtt ...
Go to the complete details ...