After some confusion during the upgrade between beta 1 and beta 2, I'm struggling with the following error and I don't know what I'm doing wrong (please could you confirm what version we're running- the distinction I'm using is that beta 2's TextBox has a .Value property whereas beta 1's TextBox has a .Text property. Is this correct? Our dev boxes have had old versions installed in the past and I'm not sure the installers did the upgrade properly)
I digress. Here's a screenshot of the designer view:
http://i162.photobucket.com/albums/t277/fantomning/Capture-2.png
CounterMt is a field in the data table to which the report is bound (programatically), but is not shown on the report. It is a unique key for each row - the intention is to show the number of rows in the COUNT() field here.
The five SUM() fields in reportFooterSection1 are supposed to be an aggregate of the corresponding fields in the detail section.
If I remove the SUM() fields then the report executes perfectly well, otherwise I get this exception:
Any ideas?
Server Error in '/LawbyteDotNet' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
|
Version Information: Microsoft .NET Framework Version:2.0.50727.312; ASP.NET Version:2.0.50727.312