Thursday, January 23, 2014

(Solved) Error: No http handler was found for request type 'GET' in ASP.NET Chart Control

Error:

No http handler was found for request type 'GET' in ASP.NET Chart Control
Solution:
  • Open your application web.config file.
  • Copy the below code and paste it inside the <configuration></configuration> tags.
<system.webServer>
    <modules runAllManagedModulesForAllRequests="true"/>
    <handlers>
    <remove name="ChartImageHandler"/>
    <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    </handlers>
</system.webServer>
  • Hope it's fixed now

No comments:

Post a Comment