Restarting the SharePoint Foundation Web Services service on the WFE to bring back a missing IIS URL

Had a problem where the Web app service in Central admin was stuck on starting and they had to be restarted because one of the URL’s SharePoint was supposed to be serving went off the air… nothing was appearing in the logs, but a quick google brought up this little gem from none other than Joel Oleson, one of the 2 Mr Ex-SharePoint’s (the other being Mike Fitzmaurice) – saved my bacon!

In Central Administration > System Settings > Servers-Manage services on server, I am trying to restart Microsoft SharePoint Foundation Web Application, its Status is currently displaying Starting… and the under the Action header, it is blank, so i’m unable to stop/start it. all other services have values. In the past couple of weeks I have had to stop and start this particular service whenever I had web apps displaying blank pages. At the moment, no web app is displayed in my browser(its just blank), thats why I need to restart this service.

Could anyone help/suggest anything pls.. or are there any alternatives to start the service(mentioned above) i.e. maybe via Powershell..if so, what are the commands to enter

 

Answers
Wednesday, January 26, 2011 10:38 AM

After going through various suggestions online, I found a small snippet from an article (from Joel Oleson) that fixed it. I went back to my initial query of restarting the web application service manually. As this service was stuck on ‘Starting’ as its status in Central Admin, Joel’s article suggested that it is started manually using stsadm. From the DOS command prompt:

1. I navigated to the stsadm directory i.e. cd \Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN

2. When in that directory, I typed: stsadm -o provisionservice -action start -servicetype spwebservice

then restart iis.

This fixed it. The web apps are now displayed in the browser.

Huzzah!

Advertisements

About Brad Saide

I'm a SharePoint consultant. I'm also slowly going bald, seem to have a permanent spare tyre around my waist and enjoy socialising with friends over a beer or 10. The last 2 may possibly be related. Started working with SharePoint when the first version was in limited beta release (participated in the Technology Adoption Program while at Woolworths) and have been committed to the adoption of the technology as a business enabler ever since.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s