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

Comments

Anonymous said…
Thanks! yust what I was looking for :)

Popular posts from this blog

How to: Setting up NLB in SharePoint 2010 farm

My notes on SharePoint 2013 user profile, people picker, user information list ports and troubleshooting

Troubleshooting and fixing Distributed Cache service in SharePoint 2013