Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8080621
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T16:28:31+00:00 2026-06-05T16:28:31+00:00

We had a MS ReportViewer 9.0.0.0 control on a custom DotNetNuke module in the

  • 0

We had a MS ReportViewer 9.0.0.0 control on a custom DotNetNuke module in the (legacy) 4.8.2 version. While trying to upgrade to 10.0.0.0 we run into the following error:

PageLoadException: Page cannot be null. Please ensure that this operation is being performed in the context of an ASP.NET request.

Here’s the relevant ASCX code for the main View control in the DotNetNuke module:

<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, 
    Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" 
    namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>

<rsweb:ReportViewer ID="report" runat="server" ProcessingMode="Remote" />

Additionally, there’s some code behind that sets the IReportServerCredentials, I’ve left out that bit of code as the problem occurs before the report’s even rendered.

The stack trace is quite large, but here are some of the relevant bits:

DotNetNuke.Services.Exceptions.PageLoadException
System.InvalidOperationException: Page cannot be null
at System.Web.UI.ScriptManager.get_IPage()
…
at Microsoft.Reporting.WebForms.ReportViewer.Render(HtmlTextWriter writer)
…
at DotNetNuke.Framework.PageBase.Render(HtmlTextWriter writer)

My Google-fu is not helping me at all. I’ve tried fiddling with the ScriptManager in DotnetNuke’s Default.aspx.vb file, playing around with the properties of the ReportViewer control, and reading the various related MSDN articles. No dice.

The question: How to get ReportViewer 10.0.0.0 working in DotNetNuke 4.8.x?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T16:28:33+00:00Added an answer on June 5, 2026 at 4:28 pm

    This is one of the few questions I’ve had lately which couldn’t be answered by searching on SO. After some more fiddling around I’ve solved the problem and figured I’d give the new Answer your own question feature a spin. So here’s what solved the problem for me.


    This problem can be solved by enabling the DotNetNuke AJAX implementation for the specific control in your module that holds the ReportViewer. Credits go to this old post detailing the steps to get this working. See also the 2007 DotNetNuke blogpost on this feature. The essence is as follows:

    1. Log in as DNN Host
    2. Go to the module definition for your module
    3. Edit the settings for the module
    4. Find the control with the ReportViewer
    5. Click to edit the settings for the control
    6. Hit the Supports Partial Rendering setting checkbox
    7. Save the settings

    The ReportViewer control should now work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Had the following as an interview question a while ago and choked so bad
We have the VS 2005 version of the ReportViewer control on an ASP.NET page.
Okay, I've done the following: Created a blank form and added a reportviewer control
Had received a module from CCAVENUE and it was working fine with Magento 1.6.2...
Had this working; at one stage. The problem is the following text is now
I had been trying to get the tag name and its value in java
I am using the reportviewer control from VS 2010 to create client side reports
I have my custom continous build that log an error for my tfs service
Had a headace trying to get this to work, im trying to set up
Had a facebook tab called "Sign Up" as a gateway into an iframe canvas

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.