title: Report Viewer Web Control Version 10 Gives Error Despite Set Up Correctly
body: <p>Reports are deployed and working, verified in Report Manager.</p>
  
  <p>My application is an MVC2 app with my report on its own aspx page.  This page worked with version 8 of the report viewer control, but we moved to new servers, upgraded sql server, and are trying to update our website to match.</p>
  
  <p>The servers are Windows Server 2008 with IIS 7.5.</p>
  
  <p>I am testing in both chrome and IE 9.</p>
  
  <p>Despite my best efforts, I still get this error:</p>
  
  <blockquote>
    <p>Report Viewer Configuration Error</p>
    
    <p>The Report Viewer Web Control HTTP Handler has not been registered in
    the application's web.config file. Add <code>&lt;add verb="*"
    path="Reserved.ReportViewerWebControl.axd" type =
    "Microsoft.Reporting.WebForms.HttpHandler,
    Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral,
    PublicKeyToken=b03f5f7f11d50a3a" /&gt;</code> to the system.web/httpHandlers
    section of the web.config file, or add <code>&lt;add
    name="ReportViewerWebControlHandler" preCondition="integratedMode"
    verb="*" path="Reserved.ReportViewerWebControl.axd"
    type="Microsoft.Reporting.WebForms.HttpHandler,
    Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral,
    PublicKeyToken=b03f5f7f11d50a3a" /&gt;</code> to the system.webServer/handlers
    section for Internet Information Services 7 or later.</p>
  </blockquote>
  
  <p>But, I've already done this.  in fact, I even read this from <a href="http://msdn.microsoft.com/en-us/library/ms251661%28v=VS.100%29.aspx" rel="nofollow noreferrer">MSDN</a>:</p>
  
  <blockquote>
    <p>To use IIS 7.0 in Integrated mode, you must remove the HTTP handler in system.web/httpHandlers. Otherwise, IIS will not run the application, but will display an error message instead.</p>
  </blockquote>
  
  <p>Just to be safe, I tried a combo of neither while adding the handler into IIS directly, just the web server http handler in my config, just the http handler in my config, and both.</p>
  
  <p>Let's start with my web.config</p>
  
  <pre><code>&lt;configuration
    &lt;system.web&gt;
      &lt;httpRuntime maxQueryStringLength="4096" /&gt;
      &lt;compilation targetFramework="4.0"&gt;
        &lt;assemblies&gt;
          &lt;add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /&gt;
          &lt;add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /&gt;
          &lt;add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /&gt;
          &lt;add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /&gt;
          &lt;add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /&gt;
        &lt;/assemblies&gt;
          &lt;buildProviders&gt;
              &lt;add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /&gt;
          &lt;/buildProviders&gt;
      &lt;/compilation&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=10.0.0.0,  Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"  /&gt;
      &lt;/handlers&gt;
    &lt;/system.webServer&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>I have the assemblies, the build provider, and the handler.  What else could be wrong?</p>