Solution: Exchange Issues, World Wide Web Publishing Server failed to Start

Solution: Exchange Issues, World Wide Web Publishing Server failed to Start

A power failure recently caused a slew of issues with one of our Small Business Server machines and while I got most of them fixed in fairly short order, I couldn’t get email clients (Outlook or mobile devices) to connect to Exchange, despite all of Exchange’s services running fine.

Windows could not start the World Wide Web Publishing ServiceAs I know Exchange leans heavily on Internet Information Services (IIS) I checked that service and sure enough, the service was in a stopped state and any attempt to start it resulted in a message saying:

Windows could not start the World Wide Web Publishing Service server on Local Computer

Error 1068: The dependency service or group failed to start.

I immediately checked the dependencies and found only one other service, the Windows Process Activation Service:

Word Wide Web Publshing Service Dependencies

Obviously the next step was to browse to the Windows Process Activation Service service (annoying name huh?) and try and start that.  That yielded another error saying:

Windows could not start the Windows Process Activation Service service on Local Computer

Error 13: The data is invalid

The Solutions

I found three different solutions online and have presented them in order of severity (the third one worked for me):

Command Line Fix

In a command prompt with elevated privilages, run the following (where C:\ the OS drive:)

fsutil resource setautoreset true c:\

Reboot

Recreate AppPools Folder

Check the C:/inetpub/temp folder on your system, if there is no AppPools folder then create one and reboot.

Restore ApplicationHost.config

Restore the ApplicationHost.config file from the IIS history folders (an automatic backup of previous versions) by doing the following:

Locate the most recent history folder  in the C:/inetpub/history folder:

Locate applicationHost.config Backup File

 

In the folder, locate the ApplicationHost.Config file and copy it:

ApplicationHost.config File in History Folder

 

Browse to the folder c:\Windows\System32\inetsrv\config and paste the retrieve applicationhost.config file there, overwriting the existing one.

Try and restart the Windows Process Activation Service (it should work fine now)

Try and restart the World Wide Web Publishing service

Now I’d recommend rebooting the server to ensure any other services that we’re reliant on these services fire up correctly.

 

 

Bob McKay

About Bob McKay

Bob is a Founder of Seguro Ltd, a full time father and husband, part-time tinkerer-with-wires, coder, Muay Thai practitioner, builder and cook. Big fan of equality, tolerance and co-existence.

Disclosure Policy

5 comments on «Solution: Exchange Issues, World Wide Web Publishing Server failed to Start»

  1. Adnan says:

    Thats worked fine for me. Thank u much

  2. Goldorak78 says:

    hi,

    thanks a lot for your post, which allowed me to put back online the iis service for and exchange 2013 server after installing a “hotfix” for my 2012 STD server that went wrong…

    no reboot required, thanks a lot for your time writing this

  3. Engin cicek says:

    Thanks a lot .. It works for me ..

  4. Ajinkya says:

    Thank you so much. It worked on SCCM distribution point server.

    1. Bob McKay says:

      Thanks Ajinkya, glad it worked!

Leave a Reply

Your email address will not be published. Required fields are marked *

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