Intermittent issue when generate Telerik report

1 Answer 41 Views
Report Viewer - Angular
sg
Top achievements
Rank 1
Veteran
sg asked on 20 Sep 2021, 06:17 AM

Hi,

As per screenshot I attach, on the screen, users have to do some filtering then click on Generate button to show the report.

However, there is an intermittent issue when user generate report, which is "Document/refresh with ID 'xxx' not found". Users have to refresh the screen or click on Generate button again.

Please advise how can we resolve the issue.

Thank you.

 

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 22 Sep 2021, 01:58 PM

Hello,

I am sorry to hear that you are experiencing issues with our product.

I suspect that the document with the corresponding ID cannot be found on the Get Document Info request. This is the request that is performed regularly (each 0.5s). It indicates whether the report is already rendered in the service. However, the problem may occur also in any of the subsequent requests.

For a solution to this problem, please consider upgrading to the R2 SP1 2021(15.1.21.616) version in which we introduced the keep the client session alive functionality which prevents the expiration of the client by continually sending a request to the server, determined by the Reporting REST service's ClientSessionTimeout. Alternatively, you could try increasing the value of the ClientSessionTimeout property. More information on this property and the reporting service can be found in the HTML5 Report Viewer and Reporting REST services article.

In case you need further help, I would like you to do the following:

Thank you for using Telerik Reporting!

Regards,
Dimitar
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
sg
Top achievements
Rank 1
Veteran
commented on 23 Nov 2021, 10:24 AM | edited

Hi,

We have tried to increase the ClientSessionTimeout, the issue still persists.

Thus, we  upgraded telerik report to R2 SP2 2021 (15.1.21.616). However, there is another error when it calls /api/reports/formats. Please help.

"ExceptionMessage": "Multiple actions were found that match the request:  Formats on type WebApi.Controllers.ReportsController GetClientsSessionTimeoutSeconds on type WebApi.Controllers.ReportsController", "ExceptionType": "System.InvalidOperationException",
"StackTrace": "   at System.Web.Http.Controllers.ApiControllerActionSelector.ActionSelectorCacheItem.SelectAction(HttpControllerContext controllerContext)\r\n   at System.Web.Http.Controllers.ApiControllerActionSelector.SelectAction(HttpControllerContext controllerContext)\r\n   at System.Web.Http.ApiController.ExecuteAsync(HttpControllerContext controllerContext, CancellationToken cancellationToken)\r\n   at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__15.MoveNext()"

 

Dimitar
Telerik team
commented on 25 Nov 2021, 12:54 PM

Hi,

I replied back in the Error after upgrade from version 15.0.21.224 to 15.1.21.616 forum thread about this issue, please check it out and if there are any further issues, I would recommend continuing the discussion there.

Tags
Report Viewer - Angular
Asked by
sg
Top achievements
Rank 1
Veteran
Answers by
Dimitar
Telerik team
Share this question
or