Search This Blog

Saturday, 3 November 2012

SharePoint 2010 : The Security Token Service is not available

Hi All,

I have configured SharePoint 2010 Server in my laptop (Installed SP 1 also).  SharePoint 2010 Products Configuration Wizard also completed successfully. When i open my SharePoint 2010 Central Administration i have seen a Health Analyzer warning on the top, that is "The Security Token Service is not available"

I don't like to see this warning on CA, also i want to know the reason why this warning happened. So I Google it, since this is the first time i am seeing this. I got several blogs for this issues, i go with following links

First i have gone with
In this blog they instruct to restart SecurityTokenServiceApplicationPool and ensure the user account that is performing this procedure is a member of the Farm Administrators group. so i have done following steps.
  1. Verify that the user account that is performing this procedure is a member of the Farm Administrators group.
  2. Identify the server on which this event occurs. On the Central Administration Home site, in the Monitoring section, click Review problems and solutions, and then find the name of the server in the Failing Servers column. If there are multiple failing servers in a server farm, you must repeat the following steps on each failing server.
  3. Verify that the user account that is performing the following steps is a member of the Administrators group on the local computer that you identified in the previous step.
  4. Log on to the server on which this event occurs.
  5. Click Start, click Administrative Tools, and then click Internet Information Services (IIS) Manager.
  6. In the Internet Information Services management console, in the Connections pane, expand the tree view, and then click Application Pools.
  7. In the Application Pools list, right-click SecurityTokenServiceApplicationPool, and then click Start. If the application pool is started already, click Stop and then, in the Action pane, click Start to restart it
    But it does not solve the issue. the i have gone with
here Dhiraj Ranka given explanation along with snapshots. Then i come to know, this problem occurs due to missing WCF Hotfix KB 976462. and he mentioned SharePoint 2010 RTM installation has included this hotfix as it's one of the prerequisites, the same you can check in Windows updates from control panel.

    But i didn't find this in my installed updates. So i downloaded this from here. Here you can find 3 files to download, in that i have downloaded Then i installed this update in my laptop and restart my machine to complete the installation and take effect. After i verified whether the update installed from control panel.
    Next step is need to re-provision STS service application. The STS service application is provisioned during sharepont configuration, and is not click-able from UI:

Start --> Microsoft SharePoint 2010 Products --> SharePoint 2010 Central Administration --> Manage Service Applications, where the Security Token Service Application is not click-able
In order to re-provision the STS from Powershell: we have to execute this
$sts = get-spserviceapplication -identity {id of sts}
 here i get one more doubt, how to get id of sts,then i found Get-SPServiceApplication powershell command to get details about all SPService Application. i executed this through SharePoint 2010 Management Shell

then i executed the script 

After this also the issue presented so i do iisreset. Now the issue resolved. 

But after installed the WCF Hotfix KB 976462, i got one more critical error in my CA. I explained this in my next post


No comments:

Post a Comment