Forcing a retraction of a deployed solution?
We installed a 3rd party webpart some time ago and there were some issues when it was first installed. So we retracted it and redeployed it. Now, when I went in to look at the Molutions Management in CA, I see there's an error stated for the deployment status.I've had some issues retracting a solution on a different server so am a little apprehensive in trying to retract this one again.
Name:
nameofwebpart.wsp
Type:
Core Solution
Contains Web Application Resource:
Yes
Contains Global Assembly:
Yes
Contains Code Access Security Policy:
Yes
Deployment Server Type:
Front-end Web server
Deployment Status:
Error
Deployed To:
https://abc.xyz.com/; https://def.abc.com/
Last Operation Result:
Some of the files were not removed during retraction of the solution.
Last Operation Details:
SERVER: https://def.abc.com/ : The solution was successfully deployed.SERVER : https://abc.xyz.com/ : Successfully copied solution files to IIS site 'AAM-for-abc.xyz.com'.SERVER : https://abc.xyz.com/ : Successfully copied solution files to IIS site 'AAM-for-abc.xyz.com'.SERVERS :AAM-for-abc.xyz.com : Error: The web.config is invalid on this IIS Web Site: F:\SharePoint_Sites\AAM-for-abc\web.config.SERVER :AAM-for-abc.xyz.com : Error: The web.config is invalid on this IIS Web Site: F:\SharePoint_Sites\AAM-for-abc\web.config.SERVER :https://abc.xyz.com : Successfully copied solution files to IIS site 'AAM-for-abc.xyz.com'.SERVER :AAM-for-abc.xyz.com : Error: The web.config is invalid on this IIS Web Site: F:\SharePoint_Sites\AAM-for-abc\web.config.SERVER :https://abc.xyz.com : Successfully copied solution files to IIS site 'AAM-for-abc.xyz.com'.
Last Operation Time:
11/5/2008 11:12 AMIs there a way to force a retract if needed? When I had issues before, it basically told me it couldn't retract because a deployment was going on. I've emailed the company we purchased this from but since we have no paid support, they take their time in answering (which I can't say I blame them - paid customers come first!).MOSS2007 w/SQL2005 and Win2k3. Can anyone help on this?TIA,Veronica
December 18th, 2008 7:34pm
Hi,
Yes, you could use the Retractsolution command to retracts the specified solutions deployment.
See Retractsolution: Stsadm operation (Office SharePoint Server) (http://technet.microsoft.com/en-us/library/cc261799.aspx) for more information.
-lambertPosting is provided "AS IS" with no warranties, and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
December 24th, 2008 5:43am
Why is this marked as answer?
The question specifically asked if there was a way to FORCE a retraction. The retractsolution command does not have a -force parameter and the customer already stated she received an error when attempting to do this through the UI.
What's important here is why the command fails. When you see this error it usually suggests that the solution was not properly deployed to all servers. This can be due to synching issues and the failure of the timer job or service to run on all web front
ends.
Unfortunately, debugging this issue is very complex. The simple and short-term solution is to add and deploy the solutions to each front end using STSADM and the -local parameter.If at first you don't succeed, ask an MVP.
March 28th, 2011 2:27am
> Why is this marked as answer?
As it was the *Original Poster* who marked the previous post as an answer, that means that it has solved her problem to her satisfaction.
The Original Poster is always the one to decide if a thread is over or not (unless the OP vanishes in which case it is assumed after two or three weeks that the OP has vanished because his/her question has been answered).
Moderator
SP 2010 "FAQ" (mainly useful links):
http://wssv4faq.mindsharp.com/default.aspx
WSS3/MOSS FAQ (FAQ and Links) http://wssv3faq.mindsharp.com/default.aspx
Both also have links to extensive book lists and to (free) on-line chapters
Free Windows Admin Tool Kit Click here and download it now
March 28th, 2011 9:22am