SharePoint Use Cases

  • Home
  • About
  • Our Tools
  • Contact me
SharePoint, SharePoint 2010

SharePoint 2010 – Service Unavailable

Toni Frankola - March 16, 2011

Problem

Last week we installed a brand new SharePoint 2010 farm for a client. After initial configuration, SharePoint was working perfectly (We used these PowerShell scripts to automate most of the installation and initial configuration). However, on the next day, Central Admin greeted us with the following error:

Service Unavailable – HTTP Error 503

I checked Windows Event Log and it was full of error events like this one:

An exception occurred when trying to issue security token: The HTTP service located at http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc/actas is too busy.

Solution

The second error message,  although it was in the Event Log, is not the root issue here. You need to focus on issue #1 and the solution is described here by Mark Haverty!

After we applied suggested changes SharePoint was working again. The problem was caused by a group policy that gave Log on as a batch job privilege to a couple of domain accounts used for backup (not SharePoint related), unfortunately this policy revoked privileges from IIS_IUSRS.

We did the following to fix this:

  • Created a new OU in Active Directory
  • Moved all SharePoint servers to new OU
  • Created and applied a new Group Policy that does not change Log on as a batch job setting
  • Gave IIS_IUSRS privilege to logon as batch job
  • Reset

SharePoint was back online!

Tags | sharepoint-issues
 0
Share Now

Toni Frankola

Entrepreneur, IT consultant, speaker, blogger, and geek. Co-founder of syskit.com.

2 Responses

  • Arash Aghajani July 18, 2016 at 11:08 am

    Great post, Toni!
    This worked very well for me.
    You saved my time to resolve this amazing issue in a production environment!

    Thanks again,
    Arash

  • SL August 18, 2016 at 6:49 pm

    Thanks for the fix. I made the same mistake with a LogOnAsBatch GPO. Of course there was no problem till the SP server was rebooted weeks later. Adding IIS_IUSRS to the GPO cleared it up.

  • Comments are closed.

    Previous Post I’ll be speaking at Microsoft SharePoint & Office Conference 2011, Italy
    Next Post I’ll be speaking about SharePoint at Microsoft Windays 2011

    Archives

    • December 2021 (1)
    • June 2021 (1)
    • January 2021 (1)
    • July 2019 (1)
    • June 2019 (2)
    • March 2019 (1)
    • February 2019 (3)
    • October 2018 (2)
    • August 2018 (2)
    • June 2018 (1)
    • April 2018 (1)
    • February 2018 (1)
    • January 2018 (1)
    • June 2017 (1)
    • April 2017 (1)
    • February 2017 (1)
    • November 2016 (2)
    • August 2016 (1)
    • July 2016 (2)
    • March 2016 (1)
    • February 2016 (2)
    • January 2016 (1)
    • November 2015 (2)
    • December 2014 (1)
    • November 2014 (2)
    • July 2014 (2)
    • June 2014 (2)
    • May 2014 (1)
    • April 2014 (2)
    • March 2014 (1)
    • February 2014 (4)
    • January 2014 (2)
    • December 2013 (1)
    • September 2013 (1)
    • July 2013 (1)
    • June 2013 (1)
    • May 2013 (1)
    • April 2013 (3)
    • February 2013 (1)
    • December 2012 (1)
    • November 2012 (1)
    • September 2012 (1)
    • August 2012 (1)
    • July 2012 (2)
    • June 2012 (4)
    • April 2012 (1)
    • February 2012 (1)
    • January 2012 (1)
    • November 2011 (2)
    • October 2011 (2)
    • September 2011 (2)
    • July 2011 (3)
    • May 2011 (2)
    • April 2011 (1)
    • March 2011 (4)
    • February 2011 (3)
    • January 2011 (4)
    • December 2010 (4)
    • November 2010 (3)
    • October 2010 (3)
    • September 2010 (4)
    • August 2010 (1)
    • July 2010 (4)
    • May 2010 (2)
    • April 2010 (2)
    • March 2010 (3)
    • January 2010 (2)
    • December 2009 (3)
    • November 2009 (5)
    • October 2009 (2)
    • August 2009 (7)
    • July 2009 (3)
    • June 2009 (4)
    • May 2009 (3)
    • April 2009 (5)
    • March 2009 (8)
    • February 2009 (5)
    • January 2009 (8)
    • December 2008 (9)
    • November 2008 (8)
    • October 2008 (7)
    • September 2008 (4)
    • August 2008 (6)
    • July 2008 (5)
    • June 2008 (3)
    • May 2008 (4)
    • April 2008 (6)
    • March 2008 (4)
    • February 2008 (3)
    • January 2008 (6)
    • December 2007 (1)
    • November 2007 (3)
    • October 2007 (3)
    • September 2007 (2)
    • August 2007 (1)
    • July 2007 (12)
    • June 2007 (2)
    • May 2007 (3)

    Connect Us

    All postings on this blog are provided “AS IS” with no warranties, and confer no rights. All entries in this blog are my opinion and don’t necessarily reflect the opinion of my employer.

    • Home
    • About
    • Our Tools
    • Contact me

    Copyright (c) Toni Frankola 2008. - 2019.