必须从一个或多个Web应用程序收回。如何解决?
------解决方案--------------------
安装:stsadm -o addsolution -filename [*.wsp文件路径]"*.wsp;
部署:stsadm -o deploysolution -name *.wsp -allowgacdeployment -immediate
删除:stsadm.exe -o deletesolution -name *.wsp
更新:stsadm.exe -o upgradesolution -name ExpensesClaimSheerWorkOverTime.wsp -filename "C:\MossUpdate_dct\ExpensesClaimSheerWorkOverTime.wsp" -immediate -allowGacDeployment
涉及的常用STSADM COMMANDS
1. Add the solution
stsadm -o addsolution -filename {WSPFILENAME}
2. Deploy the solution
stsadm -o deploysolution -name {WSPFILENAME} -url {SITEURL}
3. Install the feature
stsadm -o installfeature -filename {FeatureFolder}\feature.xml
4. Activate the feature
stsadm -o activatefeature -id {FEATUREID} -url {SITEURL} -force
5. Deactive the feature
Stsadm.exe -o deactivatefeature -filename “C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\FEATURES\MyFeature\feature.xml” -ur http://myserver-SP1:2010/
6.Uninstall the feature
stsadm -o uninstallfeature -filename
7.Retract Solution
stsadm -o retractsolution -name [-url] [-allcontenturls] [-time] [-immediate]
8.Delete Solution
stsadm -o deletesolution -name
当你在Sharepoint Farm的一个台服务器上部署了指定的Feature后,SPTimer服务会自动 synchronise/deploy (同步/部署)这个solution到此Farm中其它服务器上。
------解决方案--------------------
Uninstall-SPSolution -Identity contoso_soluion.wsp -WebApplication http://webapplication.domain.com
参考
------解决方案--------------------
查一下有沒有啟動 Sharepoint Administration 或是Sharepoint 2010 Administration 服務
Jasondct 的PowerShell 是正確的, 補充一下, 要移除已安裝的wsp, 先執行Uninstall-SPSolution , 再執行 Remove-SPSolution
如果不要跑PowerShell, 可以從CA -> System Settings -> Manage Farm Solutions 去管理
------解决方案--------------------
要寫程序
參考