1

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

2 Answers 2

3

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

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

3
  • 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
    – Nick Kahn
    Sep 1, 2011 at 20:46
  • 1
    then add the solution back using stsadm -o addsolution -> then retract -> and delete
    – Vamsi
    Sep 1, 2011 at 20:56
  • 1
    Deleting web parts that are referenced is a sure fire way to failed upgrades including patches and service packs. Sep 2, 2011 at 1:33
4

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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