Search results
Suggest a FeaturePDF

Error codes in report parsing and processing

This section provides a detailed explanation and solution to the respective problems in the Report Viewer for parsing and processing the report.

RV0001

The source of the report definition has not been specified.

Description

The Report Viewer will not render the report when either the report path or stream is not set, or the given path is incorrect.

Solution

  1. Make sure that the report path is specified and ensure whether the name or report path is correct.
  2. Check whether the report exists in the specified directory or not and also it should be accessible.

RV0009

Provide Report Server information to get shared data source information.

Description

Report with a shared data source must contain the Report Server information and credentials that are provided to render in the Report Viewer.

Solution

Make sure that the credentials in the Report Server URL are not empty and ensure that the correct information is provided to the Report Viewer. For example, refer to the below code.

Viewer.ReportServerUrl = @"https://demos.boldreports.com/services/api/ReportViewer";
Viewer.ReportServerCredential = new System.Net.NetworkCredential("username", "password");

RV0010

An error occurred while sending a request to the reporting service.

Description

Report will not be rendered when there is a problem while connecting or retrieving the data from the provided reporting service’s URL.

Solution

  1. Make sure that you are connected to the internet.
  2. Ensure that the specified reporting service URL is valid.
  3. whether the reporting service is running or not.

If not, start the reporting service from the desktop shortcut (for example: Start BoldReports in IIS) or from an installed location. Installed location path: (C:\Program Files (x86)\Bold Reports\Enterprise Reporting\Utilities\DeployIIS)

RV0013

The report definition has an invalid schema version.

Description

Report definition should contain the supported schema version (for example, 2008) to render the report in the Report Viewer.

Solution

Make sure that the provided schema in your report definition is supported in the Report Viewer. Supported versions are 2008, 2010, and 2016.

RV0014

The requested file or assembly was not found. It may have either moved or renamed.

Description

Any of the assembly related to the report platform is missing at the installation location.

Solution

  1. If you are previewing the report from the Report Designer, check whether any assembly is missing at the installed location (C:\Program Files (x86)\Bold Reports\Report Designer) or reinstall the Report Designer application.
  2. If you are loading the report from SDK sample, check whether any assembly is missing at the installed location (C:\Program Files (x86)\Bold Reports\Embedded Reporting\Assemblies) or reinstall the Report Platform SDK application.
  3. If you are loading the report from the Report Server, check whether any assembly is missing at the installed location (C:\Program Files (x86)\Bold Reports\Enterprise Reporting\Utilities\DeployIIS) or reinstall the Report Server application.

Note: Please contact Syncfusion® support if you cannot resolve the issue.

RV0023

Expressions are not used within the scope.

Description

Report Viewer encounters an error when an expression must be used outside the scope.

Solution

Provide a valid expression within the scope. Note: Detailed description with the line number and position is mentioned in the Report Viewer instance error dialog.

RV0024

An error occurred during the local report processing. There is an error that occurred while rendering the custom code.

Description

Report Viewer encounters an error when compiling the custom code used in the report.

Solution

Provide valid custom code in your report based on detailed information mentioned in the Report Viewer instance error dialog. Note: Custom code exists in report properties.

RV0034

The Value property of an image report item contains an invalid value.

Description

Report will not be rendered to the Report Viewer when you try to use invalid image data or a non-existing image in the report.

Solution

Ensure that the value provided to the image report item is specified properly, and make sure that the image is available.

  1. Embedded: Image data should be available in a report definition.
  2. External: External images can be obtained by specifying a URL and make sure that credentials are sufficient to access the image.
  3. Database: Images can be referred from the dataset, and make sure that credentials are sufficient to access the database.

RV0051

The data source used in a report does not exist or not accessible.

Description

Report will not be rendered in the Report Viewer when the data source used in a report does not exist or it is not accessible due to permission rights.

Solution

Ensure whether the data source in a report exists in the referred location.

  1. For embedded data source, the data source is referred in the local machine.
  2. For shared data source, the data source exists on the server and used on the local machine. Make sure that the authentication is sufficient to access the data source.

RV0062

Fields cannot be used in report parameter expressions.

Description

Report Viewer does not render the report when the parameter contains field expressions and fields cannot be used in report parameter expressions.

Solution

Remove the field expressions used in parameter expressions.

RV0072

Forward dependencies are not valid.

Description

Report will not be rendered when there is an existence of forward dependencies between parameters.

Solution

Make sure to remove the forward dependencies in your report definition before previewing the report. Example: First Parameter depends on Dataset 1 and Dataset 2 depends on Second Parameter, and then it results in forward dependency. Note: Parameters are executed based on the order.

RV0073

Please select a value for the report parameter.

Description

Report parameters must be supplied with values if it is non-nullable while trying to preview the report in the Report Viewer.

Solution

Enter the value of the parameter in a parameter block when it is non-nullable or allow blank.

RV0075

The expression that references the parameter is not valid and does not exist in the parameter collection or forward dependencies.

Description

Report Viewer throws errors when you try to use a non-existing report parameter or with forward dependencies.

Solution

Make sure to use the parameters that exist report definition and avoid forward dependencies in the report. Note: Letters in the names of parameters should be in the correct case.

RV0083

The value provided for the report parameter is not valid for its type.

Description

The report will not be rendered by the Report Viewer when the specified value for the report parameter is irrespective of its type.

Solution

Provide an appropriate value for the report parameter based on its data type while rendering the report. Example: A parameter with an integer data type allows integer values, not float values.

RV0084

Report item refers to an invalid DataSetName.

Description

Report will not be rendered in the Report Viewer when a non-existing dataset is used in the report.

Solution

  1. Embedded: Make sure that the report item referred dataset exists in the report definition.
  2. Shared: Make sure that the referred dataset exists on the server and accessible.

RV0089

Collection class or data table input is needed.

Description

To render the RDLC report in the Report Viewer, the report must have a collection class or data table input to rendering the report.

Solution

Make sure to provide dataset collection to render the report. Supported collections are IEnumerable, System.Data.DataTable, and System.Data.Dataset.

RV0152

Report variable or group variable reference cannot be used in report parameter expressions.

Description

Report Viewer does not render the report when the parameter contains group or report variables. Variable values cannot be used in report parameter expressions.

Solution

Remove the variable reference used in the parameter expressions.

RV0156

An invalid operator is used in expression.

Description

Report Viewer encounters an error if it contains an invalid operator in an expression.

Solution

Make sure to use appropriate and supported operators in the expression. Note: Detailed information is provided with the expression, and the report item name is mentioned in the Report Viewer instance error dialog.

RV0164

Data region items are not allowed in reports without datasets to render in the Report Viewer.

Description

Report Viewer will not render the report when the data region items does not refer to the dataset.

Solution

Make sure to provide the dataset name property value in your report definition. Note: Report will render when the report definition has a single dataset; When the dataset count is greater than one, you must specify the dataset name property value to data region items (Tablix, Chart, Gauge, etc..).

RV0167

Toggle items must be text boxes that share the same scope, and they are not allowed in page headers or footers.

Description

In our Report Viewer, toggle items must be shared within the same scope, and they are not allowed in page headers and page footers.

Solution

Provide toggle items in the report in the same scope, not from their page header or page footer. Example: If a report item in the page header contains a toggle item, then the referred toggle item should be in the header region.

RV0175

A ReportName cannot be an empty string or just white space.

Description

In SubReport item, the ReportName property value cannot be an empty or just white space.

Solution

Make sure that the ReportName property value for the subreport item is not empty.

RV0293

Aggregate and lookup functions cannot be used in report parameter expressions.

Description

The value expression is used for report parameter, it includes an aggregate or lookup function. Aggregate and lookup functions cannot be used in report parameter expressions.

Solution

Remove Aggregate and Lookup functions in your report parameter expressions.

RV0331

Lookup function has an incorrect number of parameters.

Description

Provided lookup function has an incorrect number of parameters in report definition.

Solution

Provide the correct number of arguments for lookup expressions in respective report item expressions and refer to the syntax of the lookup expressions.

RV0334

ReportItem expressions can be referred only to fields within the current dataset.

Description

ReportItem expressions can be referred only to fields within the current dataset. Make sure that the field expression is referred to the current dataset.

Solution

Provide current dataset fields for report item expression. Note: Tablix report item with scope Dataset1 must contain the fields in the dataset1. If field expression specified in another dataset is required, then you should specify the scope. Example: =First(Fields!Name.Value, "Dataset2")

RV0347

Each dataset, data region, or grouping in the report has different name for their report item. Dataset, data region, and grouping names must be unique within a report.

Description

Report item referred dataset, data region, and grouping names must be unique within a report.

Solution

Provide a unique dataset, data region, and grouping name for their report item in your report definition.

  1. Incorrect: Dataset name: Item 1, Tablix name: Item 1
  2. Correct: Dataset name: Item 1, Tablix name: Item 1

RV0362

An error has occurred on the Report Server.

Description

Specified reporting service encounters an error while rendering the report in the Report Viewer.

Solution

  1. Check the error log file(s) generated in the below mentioned location. (C:\Program Files\Bold Reports\Enterprise Reporting\idp\web\Logs)
  2. For more information about the types of status code, refer to the available status code in online.

RV0394

The value expression for the TextRun contains a colon or a line terminator.

Description

The Textbox report item value expression contains a colon or a line terminator. Colons and line terminators are not valid in expressions.

Solution

Remove colons and line terminator used in the specified report item expression.

RV0444

Cannot load sub report.

Description

Sub report cannot be loaded with an invalid name or report path.

Solution

  1. Make sure that the sub report path is specified and ensure whether the name or path is correct.
  2. Check whether the report exists in the specified directory or not, and also it should be accessible.

RV0445

The subreport cannot be found at the specified location.

Description

Report will not be rendered in the Report Viewer when the report does not exist in the specified location.

Solution

Make sure that the report name or path is correct, and the report exists in the specified directory.

RV0446

Subreport cannot be shown.

Description

Report Viewer will not render the sub report without the ReportPath or ReportServerUrl.

Solution

Provide a subreport ReportPath or ReportServerUrl in your report.

RV0451

The tablix has a detail member with inner members. Detail members contain only static inner members.

Description

In the tablix report item, detail members contain only static inner members.

Solution

In the tablix report item, provide static inner members for their detail members.

RV0488

The tablix report item has an invalid Tablix member in the column hierarchy, and the KeepTogether property is not set to None.

Description

All tablix member elements in a TablixColumnHierarchy must have the KeepWithGroup property as None.

Solution

Set KeepWithGroup property as None in a TablixColumnHierarchy for all Tablix members in the tablix report item.

RV0534

Report Deserialization failed.

Description

An error occurred during the deserialization of the report definition.

Solution

  1. XML deserialization is failed due to incorrect item tags or missed elements. Report item elements should have its required attributes.
  2. Note: Detailed description with line number and position is mentioned in the Report Viewer instance error dialog.

RV0535

Provide Report Server information to get shared dataset information.

Description

Report with shared datasets must contain the Report Server information and credentials to render in the Report Viewer.

Solution

Make sure that the credentials in the Report Server URL are not empty and ensure that the correct information is provided to the Report Viewer. Example: Viewer.ReportServerUrl = @"https://demos.boldreports.com/services/api/ReportViewer"; Viewer.ReportServerCredential = new System.Net.NetworkCredential("username", "password");

RV0537

The ReportServerUrl or ReportServerCredential is missing.

Description

Server report or server referred items used in the report will not be rendered in the Report Viewer without ReportServerUrl and ReportServerCredential.

Solution

Make sure that the ReportServerUrl and ReportServerCredential are not empty and provided with proper data and are accessible.

RV0538

The value for the DataSetName property is missing.

Description

Data region items are not allowed in reports without datasets to render in the Viewer.

Solution

Make sure to provide a dataset name property value in your report definition and ensure that the property value is not empty.

RV0539

Provide dataset inputs for the report.

Description

To render the RDLC report, you must add the data source collection in the Report Viewer if any dataset is used in the report.

Solution

Make sure to add the dataset to render the report in Report Viewer if dataset fields are used. Example: Viewer.DataSources.Add("Dataset1", object collection of data) Note: Here, name (“Dataset 1”) is the dataset name used in the report definition.

RV0540

Invalid Expression

Description

Report Viewer does not render the report when an invalid expression is used.

Solution

Provide valid expressions in the respective report item. Note: Detailed description with line number and position is mentioned in the Report Viewer instance error dialog.

RV0542

Unsupported Expression

Description

Provided expression does not support in the Report Viewer. Object expressions do not have complete support.

Solution

Please use supported expressions in the Report Viewer to render the report.

RV0543

The DateAdd function should have arguments.

Description

Report Viewer encounters an error if DateAdd function does not contain any arguments.

Solution

Provide arguments for DateAdd function in the respective report item expression and refer to the syntax of the DateAdd function. Example: =DateAdd("d",3,Fields!BirthDate.Value)

RV0544

The DateDiff function should contain arguments.

Description

Report Viewer encounters an error if DateDiff function does not contain arguments in an expression.

Solution

Provide arguments for DateDiff function in the respective report item expression and refer to the syntax of the DateDiff function. Example: =DateDiff("yyyy",Fields!BirthDate.Value,"1/1/2010")

RV0546

PaymentPeriod must be between 1 and numberOfPayments.

Description

Report Viewer encounters an error if the payment period does not fall within the range.

Solution

Provide payment period value between 1 and numberOfPayments.

RV0547

This implementation does not handle zero interest rate.

Description

Report is not rendered in the Report Viewer when it holds the zero interest rate.

Solution

Provide greater than 0 or less than 0 interest rate. Does not provide 0 value for their interest rate.

RV0548

Invalid Expression

Description

The expression used in the report is incorrect scope, syntax, or unsupported.

Solution

Ensure that the expression used in the report is correct with valid scope and syntax. Note: Detailed information of report item along with line number and position is mentioned in the Report Viewer instance error dialog.

RV0549

Method name is not a member in custom code.

Description

Evaluated method name is not a member in your custom code.

Solution

Provide a valid method name. Make sure that the provided method name is present in your custom code.

RV0552

Parameter is missing a value.

Description

Report Viewer will not render the report when the hidden parameter does not contain a value that is non-nullable.

Solution

Provide value to hidden parameters in your report definition before rendering the report. Note: Hidden parameters must contain a default value, or it should be nullable.