ConnectionClientRequestTimeout doesn't appear to work

Stimulsoft Reports.WEB discussion
Post Reply
aaronrc
Posts: 23
Joined: Thu Apr 05, 2012 2:41 am

ConnectionClientRequestTimeout doesn't appear to work

Post by aaronrc »

The report I'm attempting to load with the StiMvcViewerFx takes around 10 seconds to load. If it's just under 10s it loads fine. If it's just over 10s the viewer gives up and displays a blank report. I've watched the HTTP request in fiddler so I know IIS is not terminating the request. I've set the ConnectionClientRequestTimeout to 20000 but it didn't make any difference. Is there any way I can get the flash report viewer to try for longer than 10s?
aaronrc
Posts: 23
Joined: Thu Apr 05, 2012 2:41 am

ConnectionClientRequestTimeout doesn't appear to work

Post by aaronrc »

Looks like my issue is related to a problem someone else logged with the Flex version http://forum.stimulsoft.com/Default.aspx?g=posts&t=5196. In the StiMvcViewerFxOptions case I can confirm that ConnectionClientRequestTimeout doesn't seem to do anything or at least doesn't allow the timeout for the Flash control to load the report to be influenced. I tried setting it to 2 and 20 and neither made a difference. I guess the setting could be the timeout for the TCP connection to the server in which case is what's needed is another setting to set the timeout for the Flash control to give up on loading the report.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

ConnectionClientRequestTimeout doesn't appear to work

Post by Vladimir »

Hello,

This error has been fixed. Update will be available in prerelease build today.

Thank you.
aaronrc
Posts: 23
Joined: Thu Apr 05, 2012 2:41 am

ConnectionClientRequestTimeout doesn't appear to work

Post by aaronrc »

Fantastic, thanks.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

ConnectionClientRequestTimeout doesn't appear to work

Post by Andrew »

Hello,

We are glad to help you.

Thank you.
Venkatesan
Posts: 6
Joined: Thu Aug 12, 2010 7:21 am
Location: Bangalore

Re: ConnectionClientRequestTimeout doesn't appear to work

Post by Venkatesan »

Hi,

I updated Pre-release version 2012.06.14 and verified still the issue exists.

Thanks & Regards
Venkatesan S
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: ConnectionClientRequestTimeout doesn't appear to work

Post by Vladimir »

Hello,

We tested the latest version, the ConnectionClientRequestTimeout property is working properly:

Code: Select all

<%= Html.StiMvcViewerFx(new StiMvcViewerFxOptions() {
            ActionGetReportSnapshot = "GetReportSnapshot",
            ConnectionClientRequestTimeout = 60,  // in seconds
            Width = Unit.Percentage(100),
            Height = Unit.Pixel(700)
})%>
Please try to clear your browser cache, possibly after upgrading the old Flash application is loaded from the cache.

Thank you.
Post Reply