Microsoft SharePoint Foundation Web Application service stuck on Starting/Stopping

There are situations where you like to start ‘Microsoft SharePoint Foundation Web Application service‘ on one or more of you application servers. Reason can be anything.

Any server running ‘Microsoft SharePoint Foundation Web Application service’ is considered as a web server by most of the 3rd party vendor. For some products licensing is based on number of web front end servers. In that case, if you start this service, this machine is consider a web front end even though it is not available directly for users. In most of the cases, you can talk with 3rd party vendors and convince them about licensing and purpose of starting this service in application server.

Some of the reasons why usually admins do this was for search indexing, to run central administration or while troubleshooting a website.

If you try to start this service in any server in an already existing farm with considerable number of web applications and content, it takes sometime to start. Yes, it may take more than an 1 hour in some case. Once you start this service, you should see some changes in IIS. Application pools and sites will start showing up in IIS. This process may complete in less than 5 mins or may take more than 1 hour. As long as you see some activity in IIS, you dont have to panic!

If you feel more securing waiting while runningĀ a STSADM command, here it is

Start the service:

stsadm -o provisionservice -action start -servicetype spwebservice

Stop the service:

stsadm -o provisionservice -action stop -servicetype spwebservice

Once you start the command, wait until it comes back with something.

Same will be the case while turning off this service. All the application pools and sites are removed from IIS.

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

Step by step guide to configure Viva Connections

Update 09/23/2021 – Viva Connections public preview is available now. Steps defined in this article to create an LOB Teams application using PowerShell is not necessary now. Viva Connections app is available in Teams admin center. This new app replaces Step#3 & Step#4 in this article. You still has to go through the home site […]

Read More

Managing global navigation in SharePoint online

Options to manage global navigation in SharePoint online keeps getting better and better. We have come a long way from custom apps, using managed metadata navigation to hub navigation & the shiny SharePoint app bar. SharePoint app bar: SharePoint app bar brings together global navigation and user personalized resources (Sites, News & Files) to every […]

Read More