Ferdous's Blog

Technical Speaking on ASP.Net, C#, Sharepoint 2007, Silverlight, SQL Server, Architecture, Development Methodology, ... etc

Recent Posts

Tags

News

  • MJ Ferdous!! is a Software Engineer professional from 6 years ago. Now he is working in OT Group S.P.A., Italy as Sr. Software Engineer. He is responsible for research and developent (R & D) on SharePoint 2007 platform and also provides some consultancy for their clients for sharepoint development. He is also Technical Author of DevMedia Group, Brazil for their Large Portal Mrbool.com as well as owner & moderator of several groups of sharepoint and asp.net. More than 22 video lessons have been already published on Sharepoint 2007 and Silverlight 2. He always loves to work with hard & complex issues and like to share it in his Blog & Groups. Basically he works in Microsoft platform in Dot.net technology. His personal site: http://mjferdous.com/

Community

Email Notifications

Bloggers

Quick Sharepoint References

My Links

Archives

Sharepoint Service Error: A deployment or retraction is already under way for the solution "xxx.wsp" , and only one deployment or retraction at a time is supported

Sometime this error has been occured from Windows SharePoint Services Administration command when the user do retractsolution or deploysolution like the follwing

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsadm -o retractsolution -name "%PackageName%" -local -url %TargetWebUrl%

or

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsadm -o deploysolution -name "%PackageName%" -local -allowGacDeployment -url %TargetWebUrl%

A deployment or retraction is already under way for the solution "xxx.wsp", and only one deployment or retraction at a time is supported

it occurs if anomalies deployment is running for the same package in the backend due to some previous deployment has been crashed before for some reason.

To avoid this problem do the followings: 

Look for the deploy jobId to break the running by the following command:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsadm-o enumdeployments
• Cancel the deploy typing the following command:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsadm-o canceldeployment-id "GUID jobId"
• Check that deploy has been canceled by typing the following command:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsadm-o enumdeployments

Hope it should work.