Uninstall Webpart from Sharepoint 2010
Asked Answered
S

4

7

How can I uninstall a Custom Webpart from Sharepoint Server 2010?

Thanks

Stricker answered 7/4, 2011 at 9:57 Comment(0)
J
14

You can manage webparts from:

  • Central Administration
    • System Settings
      • Manage Farm Solutions
        • Select the WebPart

and click "Retract Solution".

Jeremyjerez answered 7/4, 2011 at 10:28 Comment(0)
V
0

Use PowerShell commands to add/remove or upgrade solution///

Adding Solution

Add-SPSolution PATH

Deploying solution

Install-SPSolution SolutionPackage.wsp –WebApplication servername –GACDeployment  

Uninstalling solution

Uninstall-SPSolution SolutionPackage.wsp –WebApplication servername

Removing solution

Remove-SPSolution SolutionPackage.wsp

Install-SPSolution –Identity $solutionName  -Webapplication $webapplication -GACdeployment
Votaw answered 30/7, 2013 at 11:58 Comment(0)
M
0

I would like to add link related with the question. Beytan Kurt is right but if you try to add a new web part in your page you will notice there in the Category section it still have reference to the web part. This link which I post it will give you a full explanation why the web part still have reference into Category section. Also it will help you to fully remove the web part from your farm solution. This is the link .

Best Regards,
Stefan Chonov

Meunier answered 13/9, 2013 at 7:19 Comment(0)
B
0

I was unable to retract solution both by Central Administration and by Power Shell due the following error:

Uninstall-SPSolution : Admin SVC must be running in order to create deployment timer job.

The retract was being scheduled but not executed at all.

So, I opened the SharePoint Power Shell as administrator and typed the following command after schedule my retract:

stsadm.exe -o execadmsvcjobs

This command force all the admin scheduled jobs to be executed, so the retract worked good. It works for install and uninstall a web part. Good luck.

Brookweed answered 27/6, 2014 at 11:31 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.