title: Report Viewer Configuration Error on Shared Hosting
body: <p>I have developed ASP.NET Application which requires ReportViewer for functionality. My Site is working perfectly well on localhost. I was asked by my shared hosting provider to upgrade the ReportViewer version from 11 to 12 which I did and it is working fine on local host. But on shared hosting space I am getting below error:
  <strong>ReportViewer Configuration Error</strong></p>
  
  <blockquote>
    <p>The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add  to the system.web/httpHandlers section of the web.config file, or add  to the system.webServer/handlers section for Internet Information Services 7 or later.</p>
  </blockquote>
  
  <p><strong>My Web.Config file</strong></p>
  
  <pre><code>&lt;configuration&gt;
    &lt;system.web&gt;
      &lt;customErrors mode="Off"/&gt;
      &lt;httpHandlers&gt;
        &lt;!--&lt;add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=000000000000" validate="false"/&gt;--&gt;
        &lt;add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=12.0.0.0, Culture=neutral, PublicKeyToken=000000000000" validate="false"/&gt;   
  
        &lt;/httpHandlers&gt;
      &lt;compilation targetFramework="4.5"&gt;
        &lt;assemblies&gt;
          &lt;add assembly="Microsoft.ReportViewer.WebForms, Version=12.0.0.0, Culture=neutral, PublicKeyToken=000000000000"/&gt;
          &lt;add assembly="Microsoft.ReportViewer.ProcessingObjectModel, Version=12.0.0.0, Culture=neutral, PublicKeyToken=000000000000"/&gt;
          &lt;add assembly="Microsoft.ReportViewer.Common, Version=12.0.0.0, Culture=neutral, PublicKeyToken=000000000000"/&gt;
  
        &lt;/assemblies&gt;
        &lt;buildProviders&gt;
          &lt;!--&lt;add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=000000000000"/&gt;--&gt;
        &lt;add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=12.0.0.0, Culture=neutral, PublicKeyToken=000000000000"/&gt;
        &lt;/buildProviders&gt;
      &lt;/compilation&gt;
      &lt;httpRuntime targetFramework="4.5"/&gt;
      &lt;!--&lt;sessionState timeout="1" /&gt;--&gt;
      &lt;authentication mode="Forms"&gt;
        &lt;forms loginUrl="login.aspx" timeout="40" slidingExpiration="true"/&gt;
      &lt;/authentication&gt;
      &lt;!--&lt;sessionState timeout="20"&gt;&lt;/sessionState&gt;--&gt;
    &lt;/system.web&gt;
    &lt;!--&lt;authentication mode="Forms"&gt;
        &lt;forms loginUrl="CompanyMaster.aspx" /&gt;
      &lt;/authentication&gt;--&gt;
  
    &lt;system.webServer&gt;
      &lt;validation validateIntegratedModeConfiguration="false"/&gt;
      &lt;handlers&gt;
        &lt;!--&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=000000000000"/&gt;--&gt;
      &lt;add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=12.0.0.0, Culture=neutral, PublicKeyToken=000000000000"/&gt;
      &lt;/handlers&gt;
      &lt;!--&lt;defaultDocument&gt;
      &lt;files&gt;
        &lt;clear /&gt;
        &lt;add value="Login.aspx" /&gt;
      &lt;/files&gt;
    &lt;/defaultDocument&gt;--&gt;
    &lt;/system.webServer&gt;
    &lt;appSettings&gt;
      &lt;add key="ValidationSettings:UnobtrusiveValidationMode" value="None"/&gt;
    &lt;/appSettings&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p><strong>I have also added all the 3 DLL files in BIN Folder</strong></p>
  
  <p>Can anyone please guide me where I am wrong?</p>
  
  <p>Thanks in advance</p>