How to force uninstall webpart from Sharepoint 2010

sharepointsharepoint-2010web-parts

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?

Best Answer

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.

Related Topic