Where is this 100 seconds defined? Its not a command timeout as I have those either on the default of 30 or set to 120. Is there a client side timeout set on the web requests to the server?
1 Answer, 1 is accepted
1
Accepted
Kristina
Telerik team
answered on 08 Dec 2021, 02:12 PM
Hi Scott,
The "Page failed to render within the specified timeout interval of 100 seconds" message can occur when a desktop viewer (e.g. WPF, WinForms) calls the Reporting Rest Service and the connection string timeout expires to connect to Reporting Engine. 100 seconds is a default value. So, in order to increase the timeout for rendering a document, you can use a RestServiceConnectionInfo instance as demonstrated in How to Construct a string to connect to Report Engine.
You can set the timeout through code (Window1.xaml.cs):
publicWindow1()
{
this.InitializeComponent();
this.ReportViewer1.ReportEngineConnection = new Telerik.ReportViewer.Common.RestServiceConnectionInfo(uri: "http://localhost:12345/api/reports", timeout: 120).ConnectionString;
this.ReportViewer1.ReportSource = new Telerik.Reporting.UriReportSource() { Uri = "Report Catalog.trdp" };
}
Or you can change it from your xaml file, if you prefer, example:
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/.