on 05-24-2017 4:02 PM
Winforms Application - .net 4.6
Crystal Reports v13.0.2000.0 - SP 20
We've recently updated our application to .net 4.6 and CR to v2013, from CR2008. We have a report that was running fine in CR 2008, no issues, but now the report throws an error when we are navigating from page 1, to 2, to 3 etc... After 10 pages, it throws an error.
Attached is a screen of the error that I capture in the "Error" event, and below is the Call Stack. I've tried searching for this but have found no answer. No matter where on the group tree I click, after about 10 pages the error happens - I've checked the data and can't find any issues with that. I've tried attaching the report, but can't as it's not an image.
Can you please help me as it's driving me crazy.
Thanks
>CrystalReportViewerUI.exe!CrystalReportViewerUI.Form1.ReportViewerError(object = {CrystalDecisions.Windows.Forms.PageView}, CrystalDecisions.Windows.Forms.ExceptionEventArgs = {CrystalDecisions.Windows.Forms.ExceptionEventArgs}) Line 285C# CrystalDecisions.Windows.Forms.dll!CrystalDecisions.Windows.Forms.CrystalReportViewer.FireHandleExceptionEvent(object = {CrystalDecisions.Windows.Forms.PageView}, CrystalDecisions.Windows.Forms.ExceptionEventArgs = {CrystalDecisions.Windows.Forms.ExceptionEventArgs})Unknown CrystalDecisions.Windows.Forms.dll!CrystalDecisions.Windows.Forms.CrystalReportViewer.HandleExceptionEvent(object = {CrystalDecisions.Windows.Forms.PageView}, System.Exception = {"Object reference not set to an instance of an object."}, bool = false)Unknown CrystalDecisions.Windows.Forms.dll!CrystalDecisions.Windows.Forms.CrystalReportViewer.HandleExceptionEvent(object = {CrystalDecisions.Windows.Forms.PageView}, System.Exception = {"Object reference not set to an instance of an object."})Unknown CrystalDecisions.Windows.Forms.dll!CrystalDecisions.Windows.Forms.PageView.ShowNextPage()Unknown CrystalDecisions.Windows.Forms.dll!CrystalDecisions.Windows.Forms.PageView.nextPageButton_Clicked(object = {System.Windows.Forms.ToolStripButton}, System.EventArgs = {System.EventArgs})Unknown
Moved to CR for VS tag.
I assume it's a WEB app?
If it is then you need to use Sessions and Postback to keep the report in scope.
Verify if it is or not?
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.