System.ServiceModel.EndpointNotFoundException – PSConfig – SharePoint 2010/2013

‘An exception of type System.ServiceModel.EndpointNotFoundException was thrown. Additional exception information: There was no endpoint listening at http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

After installing a cumulative update for fixing a bug in our SharePoint 2013 farm, I was greeted by this error while running pconfig.exe

System.ServiceModel.EndpointNotFoundException

 

Try to hit the endpoint directly in browser from the server.

Check if the end point is accessible from IIS. Open IIS Manager -> Expand the server name -> Expand sites -> Expand SharePoint Web Services -> Click on SecurityTokenServiceApplication -> Select the ‘Content View’ at the bottom -> Right click on Securitytoken.svc and browse. If the service is available, you should see something like this in browser4

If not, service is not running.

Go to Windows services and check the status of ‘World Wide Web Publishing Service’ – if it is stopped, here is your culprit.

Resolution:

After starting psconfig.exe, by the time you reach step 2 of 4, open another powershell window and start the World Wide Web publishing service. You can use command ‘net start w3svc’ or directly open windows services and ‘Start’ the service.

This fixed my issue and upgrade is completed without issues.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Disable feedback surveys in Power Platform

If you have worked in Microsoft 365 PowerApps or Power Automate, you might be familiar with feedback survey which pops up quite often. Microsoft wants your feedback on how likely are your to recommend Power Automate to a friend or colleague? Well, I ran into a conversation in twitter about this survey. Apparently I learnt […]

Read More

Error handling in Azure PowerShell Runbooks

Error handling in Azure PowerShell Runbooks should be handled carefully if not the runbook with continue to Completed state even if there is an Error in the script. Unlike exception, Runbook execution will continue after  an Error  by default. Windows PowerShell has multiple streams of output. Runbooks in Azure work differently in each of these […]

Read More

SharePoint Designer cannot display the item

You run into ‘SharePoint Designer cannot display the item’ error when you are trying to edit an existing workflow setup in Designer quite often when there is a windows update or update to .NET framework installed in your computer. In some cases it may also not allow you to create new workflows. Resolution: Clearing Designer […]

Read More