sábado, 4 de febrero de 2012

Farm Solution Deployment Lock and Removal

Farm Solution Deployment Lock may occur when a solution (.wsp) deployment fails unexpectedly.

Solution Deployment in SharePoint happens through the timer jobs. When you deploy a solution along with the deployment job a timer job named "Solution Deployment Job Lock" is created which store the deployment job's id and the lifetime of the job is till the deployment job is completed. With this SharePoint ensures that no two deployments conflict with each other.

From the above we can conclude that in SharePoint one deployment job happens at a given time courtesy the solution deployment lock. Hence using this feature SharePoint ensures that no more than one deployment or retraction can happen at a given time.

To recover from this lock you need ton use the following PowerShell command which releases the solution deployment lock.

http://technet.microsoft.com/en-us/library/ff607750.aspx

 

Fuente:

http://www.dhirendrayadav.com/2012/02/farm-solution-deployment-lock-and.html

No hay comentarios:

Publicar un comentario