简体   繁体   English

SSRS 报告未在 ASP.NET 网站中呈现

[英]SSRS report not rendering in ASP.NET website

We have created few SSRS reports which have in turn been made available in an ASP.NET page using ReportViewer control.我们已经创建了几个 SSRS 报告,这些报告又可以使用 ReportViewer 控件在 ASP.NET 页面中可用。 The rendering time of reports vary from 8 min to 15 min (one huge report).报告的呈现时间从 8 分钟到 15 分钟不等(一份巨大的报告)。

Note: The report has no grouping or heavy formatting.注意:报告没有分组或重格式。 The data is huge and query run time is huge.数据量很大,查询运行时间也很长。

These reports when run on ASP.NET website try to load but then no result is displayed and blank screen appears.这些报告在 ASP.NET 网站上运行时尝试加载,但没有显示结果并出现空白屏幕。

Resolutions tried:尝试的决议:

• Increased the execution timeout in Reporting Server Web • 增加了 Reporting Server Web 中的执行超时

Config:<httpRuntime executionTimeout="36000" />

• RsreportserverConfig changes: <Add Key="SecureConnectionLevel" Value="0"/> <Add Key="CleanupCycleMinutes" Value="36000"/> <Add Key="SQLCommandTimeoutSeconds" Value="0"/> <Add Key="MaxActiveReqForOneUser" Value="20"/> <Add Key="DatabaseQueryTimeout" Value="0"/> <Add Key="RunningRequestsScavengerCycle" Value="60"/> <Add Key="RunningRequestsDbCycle" Value="60"/> <Add Key="RunningRequestsAge" Value="30"/> <Add Key="MaxScheduleWait" Value="5"/> <Add Key="DisplayErrorLink" Value="true"/> <Add Key="WebServiceUseFileShareStorage" Value="false"/> • Changed WebConfig of website to increase timeout: • RsreportserverConfig 更改: <Add Key="SecureConnectionLevel" Value="0"/> <Add Key="CleanupCycleMinutes" Value="36000"/> <Add Key="SQLCommandTimeoutSeconds" Value="0"/> <Add Key="MaxActiveReqForOneUser" Value="20"/> <Add Key="DatabaseQueryTimeout" Value="0"/> <Add Key="RunningRequestsScavengerCycle" Value="60"/> <Add Key="RunningRequestsDbCycle" Value="60"/> <Add Key="RunningRequestsAge" Value="30"/> <Add Key="MaxScheduleWait" Value="5"/> <Add Key="DisplayErrorLink" Value="true"/> <Add Key="WebServiceUseFileShareStorage" Value="false"/> • 更改网站的 WebConfig 以增加超时时间:

<httpRuntime maxRequestLength="90000" executionTimeout="36000" requestValidationMode="2.0" />

Please suggest.请建议。

Try these steps in IIS : Open IIS .IIS尝试这些步骤: 打开IIS Go to > Application pools.转到 > 应用程序池。 Right click your application pool.右键单击您的应用程序池。 Select ' Set application pool defaults '.选择“设置应用程序池默认值”。 Update following :更新以下内容:

  1. Idle timeout (minutes): Give 20 min空闲超时(分钟):给 20 分钟
  2. Maximum worker processes: Set this as 1. ( The actual reason behind the issue is , in case of multiple worker processes, the handler can't find expected session state data in case we requests for second time.最大工作进程数:将此设置为 1。(问题背后的实际原因是,在多个工作进程的情况下,处理程序无法找到预期的会话状态数据,以防我们第二次请求。
    1. Set private memory limit and virtual memory limit to zero (0).将专用内存限制和虚拟内存限制设置为零 (0)。

Hope it will work :)希望它会起作用:)

just recompile the stored procedure that is being used in rdl.只需重新编译在 rdl 中使用的存储过程。

Hope it will resolved your problem.希望它能解决你的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM