首页 > 代码库 > sharepoint 部署模板出错:A deployment or retraction is already under way for the solution……

sharepoint 部署模板出错:A deployment or retraction is already under way for the solution……

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

无法deployment 或者retractsolution projecttrackingworkspace.wsp

 

首先查看当前的部署job:stsadm-o enumdeployments


<Deployments Count="1">
   <Deployment JobId="41b43c13-20e6-4cb5-aeb1-77dfdfe64520">
      <Title>Windows SharePoint Services Solution Deployment for "projecttrackin
gworkspace.wsp"</Title>
      <Type>Deployment</Type>
      <State>Active</State>
      <File>projecttrackingworkspace.wsp</File>
      <ServerType>Front-end Web server</ServerType>
      <Target>Global</Target>
   </Deployment>
</Deployments>

 

发现这个wsp一直无法正常完成,所以无法无法deployment 或者retractsolution ,可以取消他: stsadm-o canceldeployment-id “GUID jobId”

 

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsa
dm -o canceldeployment -id 41b43c13-20e6-4cb5-aeb1-77dfdfe64520

 

然后执行retractsolution正常。


本文出自 “博深” 博客,转载请与作者联系!

sharepoint 部署模板出错:A deployment or retraction is already under way for the solution……