Page 1 of 1

The Command Timeout

Posted: Thu Sep 17, 2015 7:20 am
by Andy1120
Hi
Can I extend the command Timeout?
the data of the report is too big.The command Timeout is less. it alters the timeout response from the internet server.
Thank you.

Re: The Command Timeout

Posted: Thu Sep 17, 2015 8:00 am
by HighAley
Hello.

Could you specify which Viewer or Designer do you use?
Also we need to know the version of our product.

Thank you.

Re: The Command Timeout

Posted: Fri Sep 18, 2015 3:50 am
by Andy1120
Hi
the version is 2015.1.
Thank you.

Re: The Command Timeout

Posted: Fri Sep 18, 2015 9:56 am
by HighAley
Hello.

You did not specify which Viewer or Designer you use.
We need this information to help you.

Thank you.

Re: The Command Timeout

Posted: Thu Sep 24, 2015 3:07 am
by Andy1120
HI
we use asp.net MVC.
Thank you.

Re: The Command Timeout

Posted: Thu Sep 24, 2015 10:29 am
by HighAley
Hello, Andy.

You could change Command Timeout with next code:

Code: Select all

Server = { 
    RequestTimeout = 60, // 60 seconds, default 20 seconds
}
Thank you.

Re: The Command Timeout

Posted: Fri Sep 25, 2015 8:42 am
by Andy1120
HI Aleksey Andreyanov
I set it.But the data is not show.the database is sqlserver2008.I get data from the server is quick. the report can not show it.
Thank you .

Re: The Command Timeout

Posted: Fri Sep 25, 2015 8:52 am
by HighAley
Hello.

You should use this code in the View:

Code: Select all

@Html.Stimulsoft().StiMvcViewer(new StiMvcViewerOptions()
               {
                   Actions =
                   {
                       GetReportSnapshot = "GetReportSnapshot",
                       ViewerEvent = "ViewerEvent"
                   },
                   Server = {
                       RequestTimeout = 60, // 60 seconds, default 20 seconds
                   }
               })