IIS reset issue (Restart attempt failed)

  • Thread starter Thread starter IIS
  • Start date Start date
I

IIS

Guest
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.

medium?v=1.png



Solution



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:

  • World Wide Web Publishing
  • IIS Admin Service
  • Net.Msmq Listener Adapter
  • Net.Tcp Listener Adapter
  • Net.Pipe Listener Adapter
  • Net.Tcp Port Sharing Service
  • Messaging Queuing
  • W3SVC Service

In my case, Net.Msmq Listener Adapter service was not running. I saw this error when I tried starting it:

medium?v=1.jpg



The message below was logged in Event Viewer,:

The Net.Msmq Listener Adapter service depends on the following service: msmq

medium?v=1.jpg



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.

  1. Go to “Server Manager > Manage > Add Roles and Features Wizard”
  2. Click “Next” until “Server Roles” section
  3. Select “Message Queuing”
  4. Click “Next” and “Install”

medium?v=1.jpg



Once the installation is completed, start Net.Msmq Listener Adapter service again. It should start without issues. Then try iisreset again.

Continue reading...
 
Back
Top