Troubleshooting Timeout errors in Reporting Services

http://blogs.msdn.com/b/mariae/archive/2009/09/24/troubleshooting-timeout-errors-in-reporting-services.aspx


Working with reports in Reporting Services, you can face timeout errors. This situation might happen when using very heavy reports. I will show bellow a list of different timeouts that could be affecting reports execution in Reporting Services and how you can adjust their values.

 

1.       If the timeout is produced by the query execution of the report, you can modify this value in the Report Designer. To find this setting:

 

·         Open the report using the report designer (Business Intelligence)

·         Select the Data tab

·         Select the dataset properties

·         Increase the value of the timeout box (or put the number in minutes for the query duration if empty)

 

                      image

 

2.       If the timeout is caused by the length of the execution of the report, you can change the Report Execution Timeout property by selecting the 'Do not timeout report execution' option

 

More info in:

http://msdn2.microsoft.com/en-us/library/ms179924.aspx

http://msdn2.microsoft.com/en-us/library/ms183733.aspx

 

3.       If the timeout is caused by the session, you can change the setting of the sessionState in the web.config file in the folder  “C:\Programme\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportManager”

 

 <sessionState mode="InProc" cookieless="false" timeout="180" />

 

Restart IIS (Start - Run…, type in iisreset and then click OK).

 

ON THE SERVER

 

4.       If the timeout is caused by the connection, you can change web site Connection Timeout to 7200 sec (default is 120 sec)

 

·         Open IIS Manager.

·         Right click the web site where Report Server is running.

·         Select Properties.

·         What is the setting for Connection timeout?

·         If it is less than 7200 you could change to the value 7200.

 

5.       In RSReportServer.config you could set the following values (theses are sample values, you can adjust your own):

 

<Add Key="ProcessRecycleOptions" Value="1"/> <!--Disabled-->

<Add Key="CleanupCycleMinutes" Value="36000"/> <!--10 Hours-->

<Add Key="SQLCommandTimeoutSeconds" Value="0"/> <!--None-->

<Add Key="MaxActiveReqForOneUser" Value="100"/>

<Add Key="DatabaseQueryTimeout" Value="0"/> <!--None-->

<Add Key="RunningRequestsScavengerCycle" Value="36000"/> <!--10 Hours-->

<Add Key="RunningRequestsDbCycle" Value="36000"/> <!--10 Hours-->

<Add Key="RunningRequestsAge" Value="30"/>

 

6.       Check the ExecutionTimeout setting within the web.config

 

\Program Files\Microsoft SQL Server\MSSQL.X\Reporting Services\ReportManager\

and

\Program Files\Microsoft SQL Server\MSSQL.X\Reporting Services\ReportServer)

 

Default is 9000 seconds, which is 2.5 hours.

In both web.config files check to see what the values are

(e.g., <httpRuntime executionTimeout = "9000" /> ).

You can alter this to 36000.

 

Maria Esteban

Reporting Services Support Engineer

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值