简体   繁体   中英

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. The rendering time of reports vary from 8 min to 15 min (one huge report).

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.

Resolutions tried:

• Increased the execution timeout in 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:

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

Please suggest.

Try these steps in IIS : Open IIS . Go to > Application pools. Right click your application pool. Select ' Set application pool defaults '. Update following :

  1. Idle timeout (minutes): Give 20 min
  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. Set private memory limit and virtual memory limit to zero (0).

Hope it will work :)

just recompile the stored procedure that is being used in rdl.

Hope it will resolved your problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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