Friday, June 18, 2010

The solution cannot be removed when a job is scheduled or running.

Hi All,


While working for a custom feature which is a third party component for SharePoint. Somehow, I wanted to removed and eventually delete this feature. Surprisingly, when I tried rectract this feature via Central Admin, I got a an error.

BUG:
The solution cannot be removed when a job is scheduled or running.  

After googling, someone had the same issue. What we have to do is follow these steps:

  1.  Open command prompt and enumerate the running deployments by executing this command: 
    stsadm -o enumsdeployments
  2. Now, we obtain the jobid and cancel this deployement as follows:
    stsadm -o canceldeployment -id 2529c788-971c-46a3-b69f-a2a0a1fcc851
That's it. We can then retract and delete the solution. 

Cheers,
--aaroh

1 comment:

Anonymous said...

Thanks! yust what I was looking for :)

Low Code Reimagined with AI + Copilot Pitch Deck - Copy Copilot day (Virtual) - 2023

 Hi All,  I presneded a session at Pune UG on Low Code Reimagined with AI + Copilot Pitch Deck.  Video is at this address  https://www.youtu...