I was facing a problem while accessing the first SSRS report of the day taking more time. But I got to know about <RecycleTime>
, I found below references to understand the scenario.
Speed up SSRS on the first Run
Still, a few things are not clear to me, could anyone please help to solve my below questions??
If I set 12 hours of
<RecycleTime>
, then after every 12 hours SSRS Service will be re-Initialised forcefully? Or the recycle period will be extended after every last use ofSSRS-Service
(I mean last use of SSRS report)?Is there any way to stop re-initializing after a certain period of time? Or any other option to automatically call the first report after its re-initialization, so the user can access their report without slow-startup?
EDIT:1
Error While Executing restart service command in Powershell
(the Service name is correct)
PS C:\Users\XYZXYZ> Restart-Service "SQL Server Reporting Services (MSSQLSERVER)"
OR
PS C:\Users\XYZXYZ> Restart-Service "ReportServer"
Restart-Service: Service 'SQL Server Reporting Services (MSSQLSERVER) (ReportServer Cannot open service.
Occurrence location Line: 1 Character: 1
+ Restart-Service "SQL Server Reporting Services (MSSQLSERVER)"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo: CloseError: (System.ServiceProcess.ServiceController: ServiceController)
+ FullyQualifiedErrorId: CouldNotStopService, Microsoft.PowerShell.Commands.RestartServiceCommand
[Resolved]: (Edit-1) Error:
Open Powershell
as Run as Administrator