• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1012
  • Last Modified:

The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file

Hi, I am new to DOT.NET world.  I am trying to view a report interactively and getting the exception below.  The same copy of the application already deployed in another machine and working just fine.  Please let me know what I am missing.  I am using VS2008 in my machine.  Thank you in advance.

Microsoft.Reporting.WebForms.ReportViewerHandlerNotRegisteredException: 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. at Microsoft.Reporting.WebForms.ReportViewer.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at ReportOpen.Page_Load(Object sender, EventArgs e) in C:\Projects\Reporting\TravelSource.UI\Pages\Reports\ReportOpen.aspx.cs:line 380
0
RadhaKrishnaKiJaya
Asked:
RadhaKrishnaKiJaya
  • 2
1 Solution
 
planoczCommented:
In the webconfig file  you need something like this....

<appSettings>
        <add key="ReportServerURL" value="http://MyServerName/ReportServer"/>
       <add key="ReportServerName" value="MyServerName"/>
       <add key="sql2008.ReportExecution2005" value="http://MyServerName/ReportServer/ReportExecution2005.asmx"/>
</appSettings>
0
 
RadhaKrishnaKiJayaAuthor Commented:
I had to edit the project file to fix this issue.
0
 
RadhaKrishnaKiJayaAuthor Commented:
I had to edit the project file to fix this issue.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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