SharePoint 2010 - The Security Token Service is not available

I am in the process of setting up a SharePoint Foundation 2010 machine.  After installing SharePoint Foundation 2010 I noticed a warning in the Central Admin > Review problems and solutions report that the Security Token Service is not available.

image

The Security Token Service is not available.
The Security Token Service is not issuing tokens. The service could be malfunctioning or in a bad state.
SPSecurityTokenService (SecurityTokenService)

The problem ended up being that the default configuration of the IIS Application Pools were set to 32-bit:

image

When SharePoint was installed all of the application pool accounts were added with 32-Bit enabled which prevented the SharePoint application pools from starting.  I had corrected this for the Central Admin site and also the root SharePoint site but the application pools for the Security Token Service were still set to use the 32-Bit application which was preventing the service from starting.

Changing this setting in each of the application pools (there were several created so check them all) fixed the issue and then the warning went away.

Published 16 August 2010 11:29 PM by Jeff Widmer

Comments

# Michiel said on 30 August, 2010 10:56 AM

Unfortunately I'm dealing with the same issue but all my IIS App Pools say 'Enable 32-bit applications' is False. What could it be then?

# bhavtosh said on 24 May, 2011 10:34 AM

install the fix from connect.microsoft.com/.../DownloadDetails.aspx

# Jason Robertson said on 24 October, 2011 04:56 AM

In my case it was a corrupted web.config (for the securtiy token service) a restore from backup fixed it

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Search

Go

This Blog

News

Syndication