Tuesday, December 10, 2013

Cancel SharePoint 2010 Deployment

Sometimes I get a SharePoint 2010 deployment job stuck deploying. When I attempt to re-deploy I get message indicating that another deployment job cannot be started while one is running. The only way I have found to resolve this is to use stsadm (located in 14\bin folder) to;
   
   a)   List current deployment jobs and their Ids
   
   b)   Cancel a running deployment job by Id

stsadm
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN>stsadm -o enumdeployments

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN>stsadm -o canceldeployment –id <the id to cancel>




No comments:

Post a Comment