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.
  1. <system.webServer>
  2. <modules runAllManagedModulesForAllRequests="true"/>
  3. <handlers>
  4. <remove name="ChartImageHandler"/>
  5. <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"/>
  6. </handlers>
  7. </system.webServer>
  • Hope it's fixed now

No comments:

Post a Comment