An exception occurred when trying to issue security token in SharePoint

I tried to open SharePoint portal (Claims Authentication) that had worked properly before! but in this time  I got the following error:

An exception occurred when trying to issue security token: 
The requested service, 
‘http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc/
actas’ could not be activated. 
See the server’s diagnostic trace logs for more information.

I checked the log file and Event Viewer and understand that Secure Token Service failing

I asked my team What’s the last action they did ? the answer was only Server Restart.

After a long trip that took about one day and may be more by trying to run SharePoint configuration wizard , provision service , check farm account password , restart server,search on internet and every thing you can imagine ! with no luck 😦

Finally, we found out that during server restart operation, the automatic update download and install this Security Update for Microsoft Windows (KB2756920) that effect on Secure Token Service.

Therefor, I followed the mentioned steps below to remove this update.

  1. Start Menu > Control Panel > Uninstall A Program
  2. Select View Installed Updates from the top left hand corner.
  3. Find Security Update for Microsoft Windows (KB2756920) in the list and uninstall it.

kb27569201

Note: I’d recommend to don’t enable automatic update at Production Server and let INFRA team to mange this via specific policy.

Enjoy 🙂

Advertisements

One thought on “An exception occurred when trying to issue security token in SharePoint

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s