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:
[NullReferenceException: Object reference not set to an instance of an object.]
Telerik.Reporting.Data.AggregateNode.Eval(DataRow row) +38
Telerik.Reporting.Processing.TextBox.ProcessItem() +159
Telerik.Reporting.Processing.ReportItemBase.ProcessItem() +144
Telerik.Reporting.Processing.Report.ProcessItem() +312
Telerik.Reporting.Processing.ReportProcessor.ProcessReport(Report reportDefinition) +57
Telerik.Reporting.Processing.ReportProcessor.Render(String format, Report reportDefinition, Hashtable deviceInfo, CreateStream createStramCallback) +81
Telerik.ReportViewer.WebForms.ServerReport.Render(HttpResponse response, String format, Int32 pageNumber, Boolean refresh) +806
Telerik.ReportViewer.WebForms.ReportPageOperation.PerformOperation(NameValueCollection urlQuery, HttpResponse response) +72
Telerik.ReportViewer.WebForms.HttpHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context) +118
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +303
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
|
Version Information: Microsoft .NET Framework Version:2.0.50727.312; ASP.NET Version:2.0.50727.312