Answered by:
Retracting solution stuck hangs

Question
-
I am trying to remove a solution wsp from SPF and it won't work with any command. it just hangs there saying it is retracting for ever. any ideas? thanks
I have tried:
Uninstall-SPSolution
stsadm -o retractsolution with immediate
Thursday, March 14, 2013 7:56 AM
Answers
-
Check SharePoint administration service is running or not. It is is running please restart(stop and start) and try to uninstall again.
if it is still stuck execute below command to know more about pending jobs
stsadm -o enumdeployments
Try to remove the solution with force commnad
Remove-SPSolution -Identity your.wsp -force
http://itjackofalltrades.blogspot.com.au/2012/05/solution-stuck-at-deploying-or.html
http://blog.degree.no/2012/08/sharepoint-2010-solution-stuck-retracting-deploying/
MCTS,MCPD Sharepoint 2010. My Blog- http://www.sharepoint-journey.com
If a post answers your question, please click "Mark As Answer" on that post and "Vote as Helpful- Marked as answer by FM250 Thursday, March 14, 2013 7:56 PM
Thursday, March 14, 2013 9:47 AM
All replies
-
Check SharePoint administration service is running or not. It is is running please restart(stop and start) and try to uninstall again.
if it is still stuck execute below command to know more about pending jobs
stsadm -o enumdeployments
Try to remove the solution with force commnad
Remove-SPSolution -Identity your.wsp -force
http://itjackofalltrades.blogspot.com.au/2012/05/solution-stuck-at-deploying-or.html
http://blog.degree.no/2012/08/sharepoint-2010-solution-stuck-retracting-deploying/
MCTS,MCPD Sharepoint 2010. My Blog- http://www.sharepoint-journey.com
If a post answers your question, please click "Mark As Answer" on that post and "Vote as Helpful- Marked as answer by FM250 Thursday, March 14, 2013 7:56 PM
Thursday, March 14, 2013 9:47 AM -
thanks the force did it without retracting. but I was able to reinstall again.Thursday, March 14, 2013 7:57 PM
-
Hello
I restarted both the SharePoint administration and timer services
Then it was still retracting forever so I canceled the retract (the solution shows as not deployed now)
I ran
Remove-SPSolution –Identity BLG.Website.WebParts.wsp
It is gone :)
Thanks
Momo
- Edited by Mohamed Hachem Tuesday, October 1, 2013 2:14 PM
Tuesday, October 1, 2013 2:06 PM -
Check out the below article may be will be helpful
Regards,
Bijay
SharePoint MVP, India
Twitter | Facebook | LinkedIn
EnjoySharePoint.com | OnlySharePoint2013.comThursday, December 14, 2017 5:32 PM