在 Reporting Services 2005 中管理超时

Aki*_*lov 3 reportingservices-2005 reporting-services

有点问题。我有一份执行很长时间的报告。一小时过去后,会出现“无法显示页面”错误。我认为这很重要。带有超时设置。

此设置已增加:

C:\Program Files\Microsoft SQL Server\MSSQL.2\ReportingServices\ReportManager\Web.config C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer\Web.config

<httpRuntime executionTimeout=" 18000 "/>

C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer\rsreportserver.config

<Add Key="SQLCommandTimeoutSeconds" Value=" 18000 "/>
<Add Key="MaxActiveReqForOneUser" Value="20"/>
<Add Key="DatabaseQueryTimeout" Value=" 18000 " />

还有:

报表管理器->站点设置->报表执行超时->选择“不超时报表执行”。

更改并没有解决我的问题。

可能有什么。在 IIS 配置中?我应该增加任何其他超时设置吗?

希望得到您的帮助。谢谢。

Rya*_*pat 5

几个选项:

1) 修改SessionTimeout 和SessionAccessTimeout 系统属性。

这是 rs.exe 的示例脚本,它将为您设置这些值:

Public Sub Main()
    Dim props() as [Property]
    props = new [Property] () { new [Property](), new [Property]() }

    props(0).Name = "SessionTimeout"
    props(0).Value = timeout

    props(1).Name = "SessionAccessTimeout"
    props(1).Value = timeout

    rs.SetSystemProperties(props)
End Sub 
Run Code Online (Sandbox Code Playgroud)

您可以使用以下命令运行此脚本:

rs -i sessionTimeout.rss -s http://localhost/reportserver -v timeout="6000"超时以秒表示,因此本例将SessionTimeout和SessionAccessTimeouts设置为大约一个半小时。

(通过http://blogs.msdn.com/b/jgalla/archive/2006/10/11/session-timeout-during-execution.aspx

2) 通过报表管理器更改报表执行超时 打开报表管理器 在页面顶部,单击站点设置。这将打开站点的“常规属性”页面。

报告执行超时 指定报告处理是否在特定秒数后超时。(通过http://msdn.microsoft.com/en-us/library/ms181194.aspx

3)设置HttpRuntime ExecutionTimeout

一种。通过转至开始 -> 管理工具 -> Internet 信息服务,打开 ReportServer 的 Web.config 文件。

湾 从那里,展开网站 -> 默认网站,然后单击 ReportServer。在右侧窗格中,右键单击“Web.Config”并选择“打开”。

C。找到 HttpRuntime 参数。如果它不存在,则必须在该部分中创建它。

d. 将 executionTimeout 值设置为“10800”(3 小时),如下所示:

<system.web>
<httpRuntime executionTimeout = "10800" />
</system.web>
Run Code Online (Sandbox Code Playgroud)

4) 增加报表服务器上的脚本超时

  1. 转到您的报告服务器并打开 Internet 信息服务;右键单击 ReportServer 并选择“属性”。
  2. 转到选项选项卡,并将 ASP 脚本超时设置为 300 秒(这对我来说并没有真正起作用)。

5)在服务器上设置报告永不超时

  1. 在服务器上打开 Web 浏览器并转到http://localhost/Reports
  2. 导航到报告位置并单击问题报告。
  3. 在左侧窗格中,单击“属性”。
  4. 在“报告执行超时”中单击“不要使报告执行超时”。(通过http://geekswithblogs.net/ssrs/archive/2009/10/30/steps-to-resolve-ssrs-timeout-issues.aspx