Recently while I was trying to open a SharePoint 2016 site, it gave an error and the site does not open. The error comes as:
Server Error in ‘/’ Application.
The requested service, ‘http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc’ could not be activated. See the server’s diagnostic trace for more information.
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it is originated in the code.
System.ServiceModel.ServiceActivationException. The requested service….
It looks like below:
Also, you can read:
To resolve the issue I have just restarted the server and tried opening the SharePoint site and it worked fine for me.
Hope this will help you.
Download FREE SharePoint 2019 Installation PDF Guide
This FREE PDF contains, Steps by step guide to install SharePoint 2019 Preview, prerequisites, hardware and software new features. First impression to SharePoint Server 2019 new modern site, modern lists and modern document libraries.
You May Also like the Following SharePoint Online Tutorials: