When I use share point, and I try to run the token service, it says ‘security token service could not be activated,’ what is the reason and how can I avoid this problem?
Fixing The ‘Security Token Service Could Not Be Activated’ And Starting It Using IIS Manager
The problem is caused due to either if the .NET trust level is not full in the IIS manager or the service is corrupted by giving it incorrect credentials. To remove this problem try one of these solutions-
1. Open IIS manager -> Secure Token Service Application -> Features -> .NET trust level (set it to max).
2. From the manager, check that the application for the service is running. By default, it is named ‘Secure Token Service Application pool.’
If still, the problem occurs, then try re-installing or setting everything to default.
If successfully resolved then the STS will look like this–