2
votes

I'm trying to delete a webpart in Sharepoint Server 2010 going at

administration->system settings->manage farm solutions..

And the Webpart shows this message "Deployment Status: Error"

I'm trying "retract solution" and seems work, but when I'm trying to re-deploy the webpart I get the message "Error in the implementation step 'Add Solution': Already installed a feature with ID XXX-XXX - XXX in this set of servers. Use the force attribute to re-add the feature explicitly."

How can I absolute delete this webpart?

2

2 Answers

4
votes

It sounds like you need to force uninstall the feature. Here is the command you can run from stsadm.

stsadm -o uninstallfeature -id "yourGUID" -force

Once this is done you can redeploy your solution.

2
votes

I think you are mixing some terminologies here. In the central administration you only have solutions (i.e. WSP files). Inside this solution you might have a webpart or anything else you want to deploy.

You now state that the solution you want to deploy has the status "deployment error" and you are able to retract the solution.

What you didn't state: After retracting the solution, did you delete it? This needs to be done! Try to delete the solution after retracting, then upload it again and try to deploy again.

If you want to force a deletion there are several possibilities, e.g. using Powershell or stsadm.