【问题标题】:Manage timeouts in the Reporting Services 2005在 Reporting Services 2005 中管理超时
【发布时间】:2009-12-07 12:28:54
【问题描述】:

有一些问题。我有一份执行了很长时间的报告。一小时过后,出现“无法显示页面”错误。 我觉得是smth。带有超时设置。

此设置已增加:

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

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



还有:

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

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

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

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

【问题讨论】:

  • 对以下选项有帮助吗?

标签: reporting-services reportingservices-2005


【解决方案1】:

几个选项:

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 

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

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 文件。

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

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

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

<system.web>
<httpRuntime executionTimeout = "10800" />
</system.web>

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

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

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

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2010-11-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多