New to Telerik ReportingStart a free 30-day trial

Invalid value of report parameter error in HTML5 Report Viewer

Environment

ProductProgress® Telerik® Reporting
VersionUp to 19.3.26.121(including)
Target Framework.NET Framework

Description

Starting with version 20.0.26.211, the .NET-based Reporting services now use System.Text.Json.

HTML5 Report Viewer fails to load a report and displays the error saying that the value of report parameter is invalid.

Error Message

TEXT
Internal Server Error

An error has occurred while processing the report. Processing canceled. Check the InnerException for more information.

Invalid value of report parameter 'X'

Cause\Possible Cause(s)

The values of report parameters are submitted from the client(viewer) to the server in JSON format where the formatting is done by the Newtonsoft.Json package.

It is possible that using the outdated Newtonsoft.Json package might result in the incorrect transfer of the parameter values.

Solution

Update the Newtonsoft.Json package using the NuGet package manager in Visual Studio according to the version of Telerik Reporting that you are using - Upgrading Projects.

See Also