The error is: Windows could not start the SQL Server Reporting Services (MSSQLSERVER) service on local computer. Error 1053: The service did not respond to the start or control request in a timely fashion.
This problem is detailed here: http://support.microsoft.com/kb/2745448, and it's a result of the SSRS service checking for certificate revocation lists (CRL). If you're like most people, you've got a firewall blocking Internet access from your server, so each call for a CRL has to time out before SSRS will start.
The above KB article mentions a handful of ways of dealing with this problem; the most-frequently used method is to increase the service start timeout in the registry. This works, but it requires a server reboot. And it doesn't really get to the root of the problem, that SSRS is taking a long time to start.
Now, generally a CRL is a good thing, even if only in theory. But if your server can't get to the Internet, anyway, there's precious little danger of it getting to a revoked certificate. After all, you're not using the server to browse the web. Right?
So: disable CRL checking within SSRS. This is done with the generatePublisherEvidence element in the ReportingServicesService.exe.config file.
By default, this file is in the <drive>:\Program Files\Microsoft SQL Server\MSRSxxx.MSSQLSERVER\Reporting Services\ReportServer\bin directory.
To disable CRL checking, add the following just before the </runtime> tag at the bottom of the ReportingServicesService.exe.config file:
<generatePublisherEvidence enabled="false"/>If SSRS is slow to start as a result of CRL checking, this will dramatically speed the service startup. One benefit to doing this, too, is that it doesn't require a server reboot or anything to take effect: it'll work at the next SSRS start.
Wow. This was exactly solved our SSRS production Issue. Fix was just Awesome.
ReplyDeleteI'm really pleased it helped. It took us awhile to recognize the problem before we nailed it down, so I hope it'll short-circuit some troubleshooting for some.
DeleteMucha gracias . Me ayudo en el problema
ReplyDeletei've done what was explained here. no luck
ReplyDeletei really need this problem to be fixed. what else can i give you so you can help me out if you have time. dead line with the new report, and can't test what i've developed in the extensions because my local RS stopped working. what a bummer.
thanks in advance
Hi, Buga, what kind of symptoms are you seeing? Is RS just not starting at all? If that's the case, it's certainly a different problem than described above. The Windows event log ought to have some hints as to what's up, if that's the case (check the application event log for errors).
ReplyDeleteThere's also the RS logs, which by default are at \Program Files\Microsoft SQL Server\MSRSxx.MSSQLSERVER\Reporting Services\LogFiles where the "xx" is a version of SQL (11 for SQL 2012, 12 for SQL 2014, etc.)
If you haven't already worked out the problem, let us know, and maybe we can help.
Awesome Lane...It worked like charm. Thanks Buddy.
ReplyDeleteThank you very much Lane..!!! it helps me A lot :)
ReplyDeleteHi - I am having the same error (1053) after some Windows updates were applied over the weekend. I added the to the config file like indicated but still not working. I also set the ServicesPipeTimeout to 60000 and then to 120000 and nothing. Any ideas? Thank you!!
ReplyDeleteHi, Core,
DeleteIs this a consistent problem, as in SSRS won't start manually, ever? Or is it something where SSRS won't start in a timely manner after a reboot? Are you seeing any errors or timeouts in the SSRS log files (\program files\microsoft sql server\MSRSxx.mssqlserver\reporting services\logfiles)?
Those probably will help us figure out what's happening.
Thank you so much!!!!! Your solution nailed it!
ReplyDeleteNice. I'm pleased it worked; thanks for leaving a note!
Deletesuper its worked for me too
ReplyDeleteIt worked for me too!!!! Thank you :)
ReplyDeleteThanx hey, it worked forme!
ReplyDeleteThanks! it worked.
ReplyDeleteThanks a lot, Lane! It worked for me too.
ReplyDeleteThanks. That was driving me around the bend.
ReplyDeleteWorked like a charm!! thanks for sharing :)
ReplyDeleteAwesome! Thanks so much - Saved the day in production
ReplyDeleteWorked like a charm!!! Thanks Lane!!
ReplyDeleteHad the same problem and after trying your workaround, RS started successfully. The issue is now in accessing the report server using web URL (http://servername/Reports)...it comes back with the error "HTTP error 503 Services Unavailable"....any idea what might be causing this. FYI : I am running the browser as administrator.
ReplyDeleteGreat! Worked like a charm. Thanks
ReplyDeleteAnother person right here who was just blessed by this solution post.
ReplyDeleteThanks!!!
Tnx alot....it works as a charm
ReplyDeleteThanks for this, saved me a production server reboot!
ReplyDeleteLane,
ReplyDeleteThanks for explaining this. I've dealt with that issue many times in the past using the ServicesPipeTimeout workaround (https://support.microsoft.com/en-us/kb/922918, or Method 4 in https://support.microsoft.com/en-us/kb/2745448), but never knew why it had to be done.
It is still a mystery why all of the sudden SSRS would timeout to start. Recently we had this issue after a Windows Update to SQL Server 2008R2 (KB3020370) along with a security update (KB3045312). Perhaps one of them triggered it. Any insight?
Thanks again,
Aldo Gonzalez
Hey, Aldo, I haven't seen anything about the latest round of patches to suggest they'd be affecting RS service startup times, or changing the way RS does its CRL check at startup.
DeleteHowever, I *do* know there have been a variety of security recommendations lately (particularly from PCI) that have affected which web encryption technologies are considered secure and whatnot; this has led to some significant changes in the way vendors (and perhaps MS?) have started dealing with SSL certs and encryption protocols (SSLV3, TLS1.0, etc.). So: it's possible that something has changed in the way a particular cert is read or supported, and this, I suppose, could result in something similar.
Does disabling CRL in RS clear up the error? That'd help narrow things down.
I've just hit this issue as well - will see if the updates you see are the same as what was just recently installed. thanks
ReplyDeleteI have checked the updates on my affected server and only only the first update you mention is installed. In my case it was installed in May so I can rule that one out. Perhaps some non SQL related update is affecting it?
ReplyDeleteThat's certainly possible: there have been a lot of updates (and SQL updates, specifically) from Microsoft recently. Another thing to check is firewall and networking changes in your environment: if something is affecting outbound internet access from your server, that'd cause this 100% of the time.
DeleteDoes disabling CRL checking make a difference?
disabling CRL just made the timeout error appear heaps faster as the OP mentioned. I have applied the pipes timeout reg key and just need a window to restart the server. Apparently there was an patch that killed SSRS KB2990214 - this was installed in April, but it is possible that one of the newer patches plus this one could have undone the fix.
DeleteThanks for taking the time to share this. Most helpful.
ReplyDeleteThis worked for me:
ReplyDeletehttp://blogs.msdn.com/b/mariae/archive/2012/11/12/reporting-services-service-doesn-t-start-after-the-installation-of-ms12-070-security-patch.aspx
Awesome! Thank you :)
ReplyDeleteTry these. Worked for me.
ReplyDeletehttp://sqldbworld.blogspot.com/2015/11/sql-server-reporting-services-fails-to.html
Your solution is the best! Thank you for sharing with public! You are great!
ReplyDeleteThankls a lot. You saved my day !!!
ReplyDeleteUnlike so many published fixes, yours worked easily and simply. I had tried other published ideas and they failed. Yours worked. Thanks so much.
ReplyDeleteVowww !!!
ReplyDeleteThat's superb. You saved my Sunday sir !!
It worked like a charm for me.
Worked for me, thank you
ReplyDeleteWorked for us - thanks for the post
ReplyDeletemy oh my. What a great article and well explained. Helped to get the service backup. I still haven't figured the downside of disabling the CRL check :-) There is a drawback or not?
ReplyDeleteAnyways, Appreciate the article
Excellent post! Thanks a lot!!
ReplyDelete