[英]SSRS report not rendering in ASP.NET website
我們已經創建了幾個 SSRS 報告,這些報告又可以使用 ReportViewer 控件在 ASP.NET 頁面中可用。 報告的呈現時間從 8 分鍾到 15 分鍾不等(一份巨大的報告)。
注意:報告沒有分組或重格式。 數據量很大,查詢運行時間也很長。
這些報告在 ASP.NET 網站上運行時嘗試加載,但沒有顯示結果並出現空白屏幕。
嘗試的決議:
• 增加了 Reporting Server Web 中的執行超時
Config:<httpRuntime executionTimeout="36000" />
• 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" />
請建議。
在IIS
嘗試這些步驟: 打開IIS
。 轉到 > 應用程序池。 右鍵單擊您的應用程序池。 選擇“設置應用程序池默認值”。 更新以下內容:
希望它會起作用:)
只需重新編譯在 rdl 中使用的存儲過程。
希望它能解決你的問題。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.