cmd或者powerShell收回带有Web应用程序范围资源的解决方案

NetSuite - 张老师
博客专家认证
2014-07-17 03:38:56
必须从一个或多个Web应用程序收回。如何解决?
...全文
191 14 打赏 收藏 转发到动态 举报
写回复
用AI写文章
14 条回复
切换为时间正序
请发表友善的回复…
发表回复
Justin-Liu 2014-07-21
  • 打赏
  • 举报
回复
啊 我以为是你部署了一个scope是webapp的解决方案,部署了多个,然后想收回其中的一个呢,我是按那个找的 所有都收回的话直接用基本的命令行就行啊我记得
  • 打赏
  • 举报
回复
引用 10 楼 legendgod 的回复:
[quote=引用 7 楼 u012025054 的回复:] 还有这个。
查一下有沒有啟動 Sharepoint Administration 或是Sharepoint 2010 Administration 服務 Jasondct 的PowerShell 是正確的, 補充一下, 要移除已安裝的wsp, 先執行Uninstall-SPSolution , 再執行 Remove-SPSolution 如果不要跑PowerShell, 可以從CA -> System Settings -> Manage Farm Solutions 去管理[/quote] 这个问题已经搞定了http://blog.csdn.net/crazygolf/article/details/37922713
  • 打赏
  • 举报
回复
引用 9 楼 u012025054 的回复:
[quote=引用 3 楼 FoxDave 的回复:] Uninstall-SPSolution -Identity contoso_soluion.wsp -WebApplication http://webapplication.domain.com 参考
不能够一次移除所有的Web应用程序中的wsp么?[/quote] 要寫程序 參考
  • 打赏
  • 举报
回复
引用 7 楼 u012025054 的回复:
还有这个。
查一下有沒有啟動 Sharepoint Administration 或是Sharepoint 2010 Administration 服務 Jasondct 的PowerShell 是正確的, 補充一下, 要移除已安裝的wsp, 先執行Uninstall-SPSolution , 再執行 Remove-SPSolution 如果不要跑PowerShell, 可以從CA -> System Settings -> Manage Farm Solutions 去管理
  • 打赏
  • 举报
回复
引用 3 楼 FoxDave 的回复:
Uninstall-SPSolution -Identity contoso_soluion.wsp -WebApplication http://webapplication.domain.com 参考
不能够一次移除所有的Web应用程序中的wsp么?
  • 打赏
  • 举报
回复
引用 6 楼 linyustar 的回复:
两位说的都非常好,围观帮顶~
你也来说两句咯
  • 打赏
  • 举报
回复

还有这个。
霖雨 版主 2014-07-18
  • 打赏
  • 举报
回复
两位说的都非常好,围观帮顶~
  • 打赏
  • 举报
回复

what's wrong?
  • 打赏
  • 举报
回复
引用 3 楼 FoxDave 的回复:
Uninstall-SPSolution -Identity contoso_soluion.wsp -WebApplication http://webapplication.domain.com 参考
你说的是多执行几次,在所有web应用程序中移除么?
Justin-Liu 2014-07-18
  • 打赏
  • 举报
回复
Uninstall-SPSolution -Identity contoso_soluion.wsp -WebApplication http://webapplication.domain.com 参考
  • 打赏
  • 举报
回复
引用 11 楼 legendgod 的回复:
[quote=引用 9 楼 u012025054 的回复:] [quote=引用 3 楼 FoxDave 的回复:] Uninstall-SPSolution -Identity contoso_soluion.wsp -WebApplication http://webapplication.domain.com 参考
不能够一次移除所有的Web应用程序中的wsp么?[/quote] 要寫程序 參考[/quote] 你可能误会我的意思了。我遇到的问题,题目上已经说明了。是收回一个解决方案提示的。不是要移除所有的解决方案。不过你给这个链接还不错。
  • 打赏
  • 举报
回复
引用 1 楼 jason_dct 的回复:
安装: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中其它服务器上。
看问题
段传涛 2014-07-17
  • 打赏
  • 举报
回复
安装: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中其它服务器上。

3,242

社区成员

发帖
与我相关
我的任务
社区描述
企业开发 SharePoint
社区管理员
  • SharePoint社区
  • 霖雨
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧