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 6243267
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T12:06:29+00:00 2026-05-24T12:06:29+00:00

Full error from Preview window in Visual Studio ’08 (BIDS): An error occurred during

  • 0

Full error from Preview window in Visual Studio ’08 (BIDS): “An error occurred during local report processing. Object reference not set to an instance of an object.”

There are no further errors/warnings detailed in the Error List or Output windows.

Background: On this report I am using a table to display a sub-report [x] number of times, dependant on the number of related objects that exist in the SQL database. That is to say that the sub-report is set within one of the cells (the only cell) of the table, in a row that repeats for each item returned in a dataset.

Removing the sub-report allows the master report to compile and run, so I feel the issue is related to the arrangement of the sub-report. If the sub-report only displays once, then the master report compiles and runs fine, it is only when a second instance is required that the issue arises.

When testing the sub-report separately, it compiles and runs when given the parameters for each instance it is being asked to render from the master report. So I can rule out the idea that the data for the second instance is causing it to fail (in some div-by-0 type way).

Given the lack of detail from the error and that the sub-report works on it’s own, I do not understand why this is happening.

Does anyone have any ideas for debugging or suggested solutions?

Thanks

Brian

tldr: Master report fails when a sub-report repeats more than once.

  • 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-05-24T12:06:29+00:00Added an answer on May 24, 2026 at 12:06 pm

    I figured out a solution. The sub-report is being passed 4 parameters, one of these had a value referring to the value a table-cell on the master report. Changing this parameter to be the value of the expression that was setting that table-cell fixed the issue. I have no idea why this is a solution, but it is.

    In more detail: [table_cell_a] had an expression computing it’s value.
    [parameter_a] for the sub report was set as “=ReportItems(“[table_cell_a]”).Value”, when I changed the expression for [parameter_a] to mirror the expression for [table_cell_a], everything worked again.

    This is messed up, and I can’t even begin to understand why it behaves like this. If [table_cell_a] was not being computed before the calls were made to the sub-reports, I could understand. But if that was the case, how come the report worked when there was only one sub-report?

    If anyone can provide an explanation, I would be most grateful.

    Brian

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

Sidebar

Related Questions

I have a database with a table which is full of conditions and error
We run full re-indexes every 7 days (i.e. creating the index from scratch) on
The full error is as follows: The type 'System.Windows.Forms.Control' is defined in an assembly
I am getting the below error from VS on an 32-bit XP Professional server
Get the following error periodically in an IIS application: Failed to load resources from
Before anyone flags this as duplicate from the other barrel full of questions about
Our application is getting a System Call Failed RPC error from DCOM ( 0x80010100
I have been getting an error message that I can't resolve. It originates from
I used this query to copy one full column from the same table: UPDATE
I am getting a really strange error from ActiveResource. I have a method that

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.