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.
- Start Menu > Control Panel > Uninstall A Program
- Select View Installed Updates from the top left hand corner.
- Find Security Update for Microsoft Windows (KB2756920) in the list and uninstall it.
Note: I’d recommend to don’t enable automatic update at Production Server and let INFRA team to mange this via specific policy.