Blazor Report failes when report runs to more than 10 or so pages

1 Answer 26 Views
Report Viewer - HTML5
Carl
Top achievements
Rank 1
Carl asked on 28 Jan 2025, 09:29 AM

I report that crashes if there are more than 10 or so pages.  I have simnpified this report so it has no formatting, no grouping and only one field of data.   I have made this report as simple as I can.

When I run the report I get the error below.

{"message":"","exceptionMessage":"One or more erro…ype":"DocumentRenderException","stackTrace":null}', _error: '', _responseJSON

If I run the same report but filtered for fewer pages, it works fine.

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 31 Jan 2025, 07:41 AM

Hello Carl,

I have replied in more detail to your support ticket on the same topic. I will summarize the main point here, so that other users may benefit from them.

The error message looks like this:

The requested operation cannot be performed on a file with a user-mapped section open. : 'C:\Windows\TEMP\...\18.3.24.1218\Is\2e0dd8e41cc\Rs\80b930aa754\Ds\18f7f15c7a6\R\value.dat'

The file that cannot be accessed is from the Telerik Reporting REST Service FileStorage. This is the place, where the service keeps the states of its clients/viewers. The service needs access to all its assets at all times to function normally. You may check the following resources for more information:

I suspect the issue is related to the storage folder being locked/used by third-party software, most often a security program, for example, an antivirus tool.

Generally, our recommendation is to use database storage - IStorage implementation suitable for deploying both on single instance application hosting and in Web Farms.

If you prefer to keep the FileStorage, please, consider providing a dedicated folder accessible only by the service. The second constructor of the FileStorage gives this option through the String argument.

The Storage is configured with the ReportServiceConfiguration as explained in the article section Setup the Program.cs file as a starting point of the Reporting REST Service Project with Top-Level Statements - step 2.

You may also attach a Trace Listener to the service to obtain more details on the problem.

Regards,
Todor
Progress Telerik

Stay tuned by visiting our roadmap and feedback portal pages, enjoy a smooth take-off with our Getting Started resources, or visit the free self-paced technical training at https://learn.telerik.com/.
Tags
Report Viewer - HTML5
Asked by
Carl
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or