ilich / MvcReportViewer

ASP.NET MVC Html Helpers for ReportViewer Control.
MIT License
282 stars 131 forks source link

Viewer gets Ajax timeout error #203

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hi,

I am using MvcReportViewer render reports from SSRS 2016. Any reports that take longer than approx.. 2mins throw a timeout error:

MicrosoftAjaxWebForms.js:6 Uncaught TypeError: Cannot read property 'PRM_TimeoutError' of undefined at Sys.WebForms.PageRequestManager._createPageRequestManagerTimeoutError (MicrosoftAjaxWebForms.js:6) at Sys.WebForms.PageRequestManager._onFormSubmitCompleted (MicrosoftAjaxWebForms.js:6) at Array. (MicrosoftAjax.js:6) at MicrosoftAjax.js:6 at Sys.Net.WebRequest.completed (MicrosoftAjax.js:6) at Sys.Net.XMLHttpExecutor._onTimeout (MicrosoftAjax.js:6) at MicrosoftAjax.js:6 

Reports run fine in Report Manager

Async render is true

Async set to false can resovle the issue but it is not practical in our case( business require the loading spinner)

Any idea why its behaving this way?

Thanks

ilich commented 7 years ago

Hi,

Have you tried to build a simple web forms application and render the report there? I haven't uses SSRS 2016 in production yet. I think you may need to upgrade to the latest Report Viewer control from Microsoft. I have a plan to upgrate MvcReportViewer to use this control as well, but I need to find time to do that.

Let me know how it goes with Web Forms viewer.