The request service svc url could not be activated. See the server diagnostic trace logs for more information error while opening SharePoint 2016 site

The request service svc url could not be activated. See the server diagnostic trace logs for more information error while opening SharePoint 2016 site

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.

Description:

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.

Exception Details:

System.ServiceModel.ServiceActivationException. The requested service….

It looks like below:

The request service svc url could not be activated. See the server diagnostic trace logs for more information error while opening SharePoint 2016 site
The request service svc URL could not be activated. See the server diagnostic trace logs for more information error while opening SharePoint 2016 site

Also, you can read:
SharePoint Online Delete all Items from a list using JavaScript Object model

How to get alternate languages from language settings in SharePoint online using Rest API?

Display Charts using Chart Js in SharePoint Online Office 365


Solution:
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.


You May Also like the Following SharePoint Online Tutorials:

About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

View all posts by Bijay Kumar →