Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

how to i remove/delete web-part from SP 2010

i tried the below command and it does says operation complted successfully but it still shows up in the custom web part bucket when adding webparts...

stsadm.exe -o deletesolution -name SyndicationWebPart.wsp -override
share|improve this question
add comment

2 Answers 2

up vote 3 down vote accepted

Please retract the solution, delete just removes the wsp from solution store

stsadm -o retractsolution -name *wspfile file name* -url site url -immediate

share|improve this answer
    
it says: visualwebpart1.wsp does not exist in the solution store but i can see it when i edit the page and click on insert web part –  Abu Hamzah Sep 1 '11 at 20:46
1  
then add the solution back using stsadm -o addsolution -> then retract -> and delete –  Vamsi Sep 1 '11 at 20:56
1  
Deleting web parts that are referenced is a sure fire way to failed upgrades including patches and service packs. –  Mike Oryszak Sep 2 '11 at 1:33
add comment

I believe you also need to remove the Web part from the site collection Web part gallery.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.