Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1848
  • Last Modified:

Report Viewer Web Control HTTP Handler has not been registered in applications web.config

I am using Framework 4.0 and VS 2010. I have generated a report(.rdlc) and called from one of the pages. I am getting the below exception.

Exception message: The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add <add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> to the system.web/httpHandlers section of the web.config file.

NOTE: I have tried the following

- I have installed the Microsoft Report Viewer 2010 Redistributable Package.
- Copied the Reportviewer.Common and ReportViewer.WebForms into my application's BIN directory
- Application's web.config has the following ::


<httpHandlers>      
      <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false" />
    </httpHandlers>
  </system.web>
  <system.webServer>
    <modules runAllManagedModulesForAllRequests="true" />
    <validation validateIntegratedModeConfiguration="false" />
    <handlers>
      <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" />
    </handlers>
  </system.webServer>

Open in new window

0
cimscims
Asked:
cimscims
1 Solution
 
Miguel OzSoftware EngineerCommented:
Try:
- Delete both dll from bin folder.
- delete entries on we.config.
-Add both dll using add reference context menu of website. (From your install dll location).
0
 
cimscimsAuthor Commented:
Sorry. Forgot about this.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now