Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Wednesday, May 25, 2011 9:48 PM
"Uninstall-SPSolution -Identity ContosoCustomeSol.wsp -WebApplication http://contoso.com/ -confirmConfirm
Are you sure you want to perform this action?
Performing operation "Uninstall-SPSolution" on Target "contosocustomesol.wsp".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
(default is "Y"):Y
Uninstall-SPSolution : A deployment or retraction is already under way for the
solution "contosocustomesol.wsp", and only one deployment or retraction at a ti
me is supported.
At line:1 char:21
- Uninstall-SPSolution <<<< -Identity ContosoCustomeSol.wsp -WebApplication ht
tp://contoso.com/ -confirm
+ CategoryInfo : InvalidData: (Microsoft.Share...installSolution:
SPCmdletUninstallSolution) [Uninstall-SPSolution], InvalidOperationExcepti
on
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletUninstal
lSolution"
How to kill this process as this is running from long time and I am getting above given warning?
Rit
All replies (2)
Tuesday, May 31, 2011 7:15 AM ✅Answered
Hi,
From the error message, it looks like the deployment got added to the list of timer jobs, but was not executed by the timer. There's a function in the deployment process that waits until the job has been run before continuing.
Have you run the cmdlet reduplicative?
I found that if the SharePoint 2010 Administration service is not running, the cmdlet will not be run and the timer job abort. In order to run the cmdlet successful, you should cancel the deployment job.
Please try to run the following commands:
- Look for the deploy jobId to break the running by the following command: stsadm-o enumdeployments
- Cancel the deploy typing the following command: stsadm-o canceldeployment-id “GUID jobId”
- Check that deploy has been canceled by typing the following command: stsadm-o enumdeployments
After this, run uninstall-spsolution again.
Xue-Mei Chang
Thursday, December 15, 2011 1:15 PM
i tried it and it is going to timer jobs as many times i try the above procedure...is there any workaround for this ?