title: Report Viewer not working because of Report Viewer Configuration Error
body: <p>Anyone here that can help me about my problem using Report Viewer server control on my ASP MVC application. The issue is web.config settings for Report Viewer always give me an error even though I already set the config for Report Viewer. But when I tried to create a new Web Application for testing Report Viewer works fine.</p>
  
  <p>Here is the Error:</p>
  
  <pre><code>The Report Viewer Web Control HTTP Handler has not been registered
  in the application's web.config file. Add &lt;add verb="*"
  path="Reserved.ReportViewerWebControl.axd" type =
  "Microsoft.Reporting.WebForms.HttpHandler,
  Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral,
  PublicKeyToken=89845dcd8080cc91" /&gt; to the system.web/httpHandlers
  section of the web.config file, or add &lt;add
  name="ReportViewerWebControlHandler" preCondition="integratedMode"
  verb="*" path="Reserved.ReportViewerWebControl.axd"
  type="Microsoft.Reporting.WebForms.HttpHandler,
  Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral,
  PublicKeyToken=89845dcd8080cc91" /&gt; to the system.webServer/handlers
  section for Internet Information Services 7 or later.
  </code></pre>
  
  <p>I already did what other solutions in the internet regarding this issue but I still got the same error over and over again.</p>
  
  <p>And upon looking the Developer Tool I found out that <strong>Reserved.ReportViewerWebControl.axd</strong> returning 404 (Not Found) even though I have this in my web.config and I think this causes the error in report viewer.</p>
  
  <p>Here is my web.config:</p>
  
  <pre><code>&lt;system.web&gt;
  &lt;httpHandlers&gt;
    &lt;add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" validate="false" /&gt;
  &lt;/httpHandlers&gt;
  &lt;assemblies&gt;
     &lt;add assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91" /&gt;
     &lt;add assembly="Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91" /&gt; 
  &lt;/assemblies&gt;
  &lt;buildProviders&gt;
      &lt;add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" /&gt;
  &lt;/buildProviders&gt;
  &lt;/system.web&gt;
  
  &lt;system.webServer&gt;
     &lt;handlers&gt;
         &lt;add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" /&gt;
     &lt;/handlers&gt;
  &lt;/system.webServer&gt;
  </code></pre>
  
  <p>and here is my code in aspx:</p>
  
  <pre><code>&lt;%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ReportViewer.aspx.cs" Inherits="HSESA.Web.Reports.ReportViewer" %&gt;
  
  &lt;%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %&gt;
  
  &lt;!DOCTYPE html&gt;
  
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head runat="server"&gt;
      &lt;title&gt;&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;form id="RVForm" runat="server"&gt;
          &lt;div&gt;
              &lt;asp:ScriptManager ID="RVScriptManager" runat="server"&gt;&lt;/asp:ScriptManager&gt;
              &lt;rsweb:ReportViewer ID="reportViewer1" runat="server" Font-Names="Verdana" Font-Size="8pt" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt"&gt;
                 &lt;LocalReport  ReportPath="Reports\AssessmentByRegionReport.rdlc"&gt;
                 &lt;/LocalReport&gt;
          &lt;/rsweb:ReportViewer&gt;
          &lt;/div&gt;
      &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Thanks in advance for all your help. ^_^</p>