You may run into “Restart attempt failed” error while trying to restart IIS:
Restart attempt failed. The IIS Admin Service or the World Wide Web Publishing Service, or a service dependent on them failed to start.
IIS depends certain other services to host web applications. The root cause of this issue is a failed dependent service as the error above states. Check if the services below are running in IIS server:
In my case, Net.Msmq Listener Adapter service was not running. I saw this error when I tried starting it:
The message below was logged in Event Viewer,:
The Net.Msmq Listener Adapter service depends on the following service: msmq
MSMQ (Microsoft Message Queuing) is a messaging protocol that applications use to run on separate servers and processes. Net.Msmq Listener Adapter uses this protocol to receive activation requests. It then passes them to Windows Process Activation Service (WAS). For more details about this listener adapter and protocol, check out MSMQ Activation.
Follow the steps below to install Message Queuing.
Once the installation is completed, start Net.Msmq Listener Adapter service again. It should start without issues. Then try iisreset again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.