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.
(Or)
An exception occurred when trying to
issue security token: Could not connect to http://localhost:2843/SecurityTokenServiceApplication/securitytoken.svc.TCP error code 10061: No connection could be made because the target machine
actively refused it
(Or)
(Or)
The
Managed Metadata Service '' is inaccessible.
Solution:
Go to InetMgr(IIS manager)
1.
start the "SharePoint Web Services" site
2.
start the "SharePoint Web Services Root"
application pool
3.
Do IIS reset.