Blank page in StiWebViewerFx when query runs for more then 20 seconds
Blank page in StiWebViewerFx when query runs for more then 20 seconds
Hi!
I have a report created with the designer and shown with StiWebViewerFx. The report seems to be fine, but it's returning an empty StiWebViewerFx after about 20 seconds of "Loading".
This is what I have been testing:
- Report is fine in Designer, also preview works perfectly
- When locally run in VS2010 (with the development webserver), the ASPX shows the reportviewer (StiWebViewerFx) just fine and after a while of "Loading" it returns the report
- When deployed on the actual webserver (IIS), the ASPX show the reportviewer, for about 20 seconds "Loading" and then the "Loading" dissapears, but the report stays empty
I have changed the filters (WHERE clause in the SQL Query) a bit to make it run faster (less records to select etc). Now the report works fine on the IIS server.
Script timeout on the server is set to 600 (10 minutes). The query itself has it's commandtimeout set on "300" which is 5 minutes.
I have also tried a normal StiWebViewer. Interestingly that works fine when there is only 1 page shown. When I change viewing method to "Whole report" same thing happens.
It seems as if there is something wrong with the StiWebViewer(Fx), but I can't really debug it. Anyone got any ideas?
I have a report created with the designer and shown with StiWebViewerFx. The report seems to be fine, but it's returning an empty StiWebViewerFx after about 20 seconds of "Loading".
This is what I have been testing:
- Report is fine in Designer, also preview works perfectly
- When locally run in VS2010 (with the development webserver), the ASPX shows the reportviewer (StiWebViewerFx) just fine and after a while of "Loading" it returns the report
- When deployed on the actual webserver (IIS), the ASPX show the reportviewer, for about 20 seconds "Loading" and then the "Loading" dissapears, but the report stays empty
I have changed the filters (WHERE clause in the SQL Query) a bit to make it run faster (less records to select etc). Now the report works fine on the IIS server.
Script timeout on the server is set to 600 (10 minutes). The query itself has it's commandtimeout set on "300" which is 5 minutes.
I have also tried a normal StiWebViewer. Interestingly that works fine when there is only 1 page shown. When I change viewing method to "Whole report" same thing happens.
It seems as if there is something wrong with the StiWebViewer(Fx), but I can't really debug it. Anyone got any ideas?
Blank page in StiWebViewerFx when query runs for more then 20 seconds
Hello, Siira
By default, the timeout in WebViewerFx to receive data from the server is 10 seconds. If this is not enough, you can increase it, for example up to one minute:
In WebViewer try to set the render mode to AjaxWithCache:
Thank you.
By default, the timeout in WebViewerFx to receive data from the server is 10 seconds. If this is not enough, you can increase it, for example up to one minute:
Code: Select all
StiWebViewerFxOptions.Connection.ClientRequestTimeout = 60;
Code: Select all
Blank page in StiWebViewerFx when query runs for more then 20 seconds
Shouldn't I assign these Options somewhere? I couldn't find a property to an instance of StiWebViewerFX, but I doubt it's a static value used for all viewers, is it????
This is my code now:
Needless to say, it's not working yet.
This is my code now:
Code: Select all
this.Server.ScriptTimeout = 600;
this.StiWebViewerFx1.ServerTimeout = new TimeSpan(0, 10, 0);
Stimulsoft.Report.WebFx.StiWebViewerFxOptions.Connection.ClientRequestTimeout = 120;
this.StiWebViewerFx1.Report = this.StiWebReport1.GetReport();
this.StiWebViewerFx1.DataBind();
Blank page in StiWebViewerFx when query runs for more then 20 seconds
Option can be set anywhere before calling the WebViewerFx, your code is correct.
Do you mean that when you set this option WebViewerFx a blank page is still be showing after 20 seconds? Please tell us which version of the product do you are?
Thank you.
Do you mean that when you set this option WebViewerFx a blank page is still be showing after 20 seconds? Please tell us which version of the product do you are?
Thank you.
Blank page in StiWebViewerFx when query runs for more then 20 seconds
I have investigated a bit more. We're using version 2010.1.700.0.
I have put a small video online:
http://www.almerefriends.net/tino/downl ... 135148.wmv
I have been testing with Google Chrome as it's my default browser. I noticed in Internet Explorer it actually works fine.
In both "Google Chrome" and "Palemoon (Firefox)" it shows loading for a while, then the loading screen vanishes and the report stays empty
So the StiWebViewerFxOptions setting works, but only in Internet Explorer.
I think this is a bug? If you need anything from me, please let me know.
I have put a small video online:
http://www.almerefriends.net/tino/downl ... 135148.wmv
I have been testing with Google Chrome as it's my default browser. I noticed in Internet Explorer it actually works fine.
In both "Google Chrome" and "Palemoon (Firefox)" it shows loading for a while, then the loading screen vanishes and the report stays empty
So the StiWebViewerFxOptions setting works, but only in Internet Explorer.
I think this is a bug? If you need anything from me, please let me know.
Blank page in StiWebViewerFx when query runs for more then 20 seconds
Hello, Siira
This bug was fixed some two months ago, please download the latest prerelease build from June 15.
http://stimulsoft.com/ReportsWebDownloads.aspx
Thank you.
This bug was fixed some two months ago, please download the latest prerelease build from June 15.
http://stimulsoft.com/ReportsWebDownloads.aspx
Thank you.
Blank page in StiWebViewerFx when query runs for more then 20 seconds
Thanks. I'll give it a try monday. I didn't use those version as it says "Latest prerelease versions of Stimulsoft Reports (only dll files)".
Prerelease often is not suited for production, which is why I used the latest full release instead.
Prerelease often is not suited for production, which is why I used the latest full release instead.
Blank page in StiWebViewerFx when query runs for more then 20 seconds
Hello,
Ok! Let us know about the result.
Thank you.
Ok! Let us know about the result.
Thank you.
Blank page in StiWebViewerFx when query runs for more then 20 seconds
Thanks. That did the trick. I didn't use the one you linked though as those are the demo binaries. I have logged in on the main site and downloaded the binaries from there. Everything is working fine now. Thanks for the support!
Blank page in StiWebViewerFx when query runs for more then 20 seconds
Thanks for letting us know about the result!