1950941 - When paging through a report the WPF Viewer throws an error: No Error

SAP Knowledge Base Article - Public

1950941 - When paging through a report the WPF Viewer throws an error: No Error

Symptom

  • Using the Crystal Reports WPF viewer in a Visual Studio application
  • When paging to page 2 the error is thrown:

No Error

Untitled.png

Environment

  • SAP Crystal Reports, developer version for Microsoft Visual Studio
  • Microsoft Visual Studio (2010 / 2012)

Cause

  • The application was setting a parameter in code
  • The parameter was set after the report was loaded into the viewer:

 

reportViewer.ViewerCore.ReportSource = vObjReport;
reportViewer.ViewerCore.ParameterFieldInfo = GetParameters();

Resolution

  • Set the parameter code before setting the report to the viewer:
reportViewer.ViewerCore.ParameterFieldInfo = GetParameters();
reportViewer.ViewerCore.ReportSource = vObjReport;

Keywords

CRVS CR4VS param noerror vs .net crystal cr page , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio