Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0ReportViewerHandlerNotRegisteredException - report viewer in DNN moduleReportViewerHandlerNotRegisteredException - report viewer in DNN module
Previous
 
Next
New Post
12/23/2008 2:17 PM
 

I'm attempting to add a custom module I created that implements the ReportViewer ASP.NET control to my webserver. I have successfully added the module to my local DNN test install without an issue. Here is the error message that I am receiving:

Unhandled error loading module.
DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane ---> 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.InitRecursive(Control namingContainer) 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 DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---

 

Here is some relevant information:

  1. The error message only appears on my server, NOT on my local install
  2. I have installed the ReportViewer distributable found here on the server.
  3. The three ReportViewer dll's have been copied into the /Bin folder in my DNN install on the webserver (although I didn't have to do this on my local machine)
  4. The ReportViewer control appears to be partially displayed, and the error message from above is displayed underneath the control. However, the icons on the ReportViewer toolbar are not being displayed.
  5. I've manually added the following to the web.config file to register the Http handler for the control:

    <add verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.Webforms.HttpHandler, Microsoft.ReportViewer.Webforms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>

    (and different variations of the ADD tag)
     
  6. Here is the code in my module for adding the ReportViewer control:

    <%@ Register Assembly="Microsoft.ReportViewer.Webforms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
        Namespace="Microsoft.Reporting.Webforms" TagPrefix="rsweb" %>

    <rsweb:ReportViewer ID="report" runat="server" Font-Names="Verdana" Font-Size="8pt"
        Height="616px" ProcessingMode="Remote" Width="100%">
        <ServerReport ReportPath="/<MyReportName>" ReportServerUrl="http://<MyReportServerURL>/reportserver" />
    </rsweb:ReportViewer>

     
  7. The server is Windows 2003 with netfx 1.1/2.0/3.0/3.5 installed on it.
  8. My local machine is Windows XP with netfx 1.1/2.0/3.0/3.5 and Visual Studio 2005 installed on it.
  9. The report server is located on the same machine as the web server. Reports on it are viewable from my custom DNN control using my local machine, but NOT from the server.

If any other information is needed, let me know.

Any ideas? I've been banging my head against this wall for several hours now, and I'm hoping that it's something simple that I'm missing because I've been staring at it so long.

Thanks,
Joe

 
New Post
12/28/2008 4:53 AM
 


Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0ReportViewerHandlerNotRegisteredException - report viewer in DNN moduleReportViewerHandlerNotRegisteredException - report viewer in DNN module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out