[SPS] how to stop “deployment or retraction is already under way” message that doesn’t dissapear

Scenario: you deploy/update some WSPs and “deployment or retraction is already under way”.

After more than 20 minutes, you still have this error.

You try stsadm -o execadmsvcjobs and you notice that even if the admin service is running you still get this error.

I would recommend running:

  • Look for the deploy jobId to break the running by the following command: stsadm-o enumdeployments
  • Cancel the deploy typing the following command: stsadm-o canceldeployment-id “GUID jobId”
  • Check that deploy has been canceled by typing the following command: stsadm-o enumdeployments

Afterwards you can try removing the faulty solution and re-deploying it.

Hope it helps 🙂