title: Error executing child request for ChartImg.axd. This is not a duplicate
body: <p>I have tried all solutions on this thread:
  <a href="https://stackoverflow.com/questions/302820/net-3-5-chart-controls-exception-error-executing-child-request-for-chartimg-ax">.NET 3.5 chart controls exception: Error executing child request for ChartImg.axd</a></p>
  
  <p>I added the </p>
  
  <pre><code>&lt;add
      path="ChartImg.axd" 
      verb="GET,HEAD" 
      type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" 
      validate="false" /&gt;
  </code></pre>
  
  <p>code to the <code>httpHandlers</code> section but it still doesn't work.</p>
  
  <p>I have also added:</p>
  
  <pre><code>&lt;appSettings&gt;
      &lt;add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" /&gt;
  &lt;/appSettings&gt;
  
  &lt;httpHandlers&gt;
  ...
      &lt;add path="ChartImg.axd" verb="GET,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" /&gt;
  ...
  &lt;/httpHandlers&gt;
  
  &lt;handlers&gt;
  ...
      &lt;add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /&gt;
  
  ...
  &lt;/handlers&gt;
  </code></pre>
  
  <p>But after fighting for a while to place those tags in the correct places in the config file i get the same error.</p>
  
  <p>Here is my config file currently:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;!--
    For more information on how to configure your ASP.NET application, please visit
    http://go.microsoft.com/fwlink/?LinkId=169433
    --&gt;
  &lt;configuration&gt;
  
    &lt;appSettings&gt;
      &lt;add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" /&gt;
    &lt;/appSettings&gt;
    &lt;system.web&gt;
      &lt;httpHandlers&gt;
  
        &lt;add path="ChartImg.axd" verb="GET,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" /&gt;
  
      &lt;/httpHandlers&gt;
  
      &lt;!--&lt;pages&gt;
        &lt;controls&gt;
          &lt;add tagPrefix="artem" namespace="Artem.Google.UI" assembly="Artem.Google"/&gt;
        &lt;/controls&gt;
      &lt;/pages&gt;--&gt;
      &lt;compilation debug="true" targetFramework="4.5"&gt;
  
        &lt;assemblies&gt; 
          &lt;add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&gt;  
  
        &lt;/assemblies&gt;
  
      &lt;/compilation&gt;
  
      &lt;httpRuntime targetFramework="4.5"/&gt;
    &lt;/system.web&gt;
    &lt;system.webServer&gt;
      &lt;validation validateIntegratedModeConfiguration="false"/&gt;
    &lt;/system.webServer&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Ive been stuck on this for two hours not able to get anything working. 
  I am using .net framework 4.5</p>