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

Posted on 2011-10-19
Last Modified: 2012-06-21
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
Question by:RadhaKrishnaKiJaya
    LVL 27

    Expert Comment

    In the webconfig file  you need something like this....

            <add key="ReportServerURL" value="http://MyServerName/ReportServer"/>
           <add key="ReportServerName" value="MyServerName"/>
           <add key="sql2008.ReportExecution2005" value="http://MyServerName/ReportServer/ReportExecution2005.asmx"/>

    Accepted Solution

    I had to edit the project file to fix this issue.

    Author Closing Comment

    I had to edit the project file to fix this issue.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
    Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now