如何从服务器场中手动删除解决方案 [英] How to manually remove solution from farm

查看:100
本文介绍了如何从服务器场中手动删除解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我们遇到一个问题,即以半随机的方式将旧的TFS服务器场解决方案参考重新添加到我们的Web应用程序的web.config中.这是半随机的,因为web.config的这些条目似乎与完成其他SharePoint安装任务(例如 安装SharePoint的PowerShell或类似的工具.如下所示的条目会重新添加到我们的web.config中,从而导致整个Web应用程序消失:

We're having an issue where an old TFS farm solution reference is re-added to our web app's web.config in a semi random fashion.  It's semi random in that these entries to web.config appear to be related to completing other SharePoint setup tasks (like installing PowerShell for SharePoint or something like that).  Entries like the following are re-added to our web.config causing the whole web app to die:

我们已经运行了TFS向导,以删除与该服务器场的所有SharePoint集成,但仍会不时遇到此问题.该修复程序是对这些行的简单注释,但是我想一劳永逸地解决这个问题.什么 我想做的是:

We've already run the TFS wizard to remove any SharePoint integration to the farm, but continue to run across this problem from time to time.  The fix is a simple commenting out of these lines, but I'd like to address this once and for all.  What I'd like to do is:

  1. 使用PowerShell枚举仍在服务器场中注册的所有SharePoint解决方案
  2. 手动删除不受欢迎的对象
  3. 识别并重新运行触发该web.config文件更新的任何事件以确保彻底解决此问题.

有人可以提供指导吗?

谢谢

史蒂文

推荐答案

史蒂文嗨.

您可以通过执行以下操作来完整列出服务器场中安装的所有解决方案: Get-SPSolution cmdlet.
要手动删除解决方案,您可以使用管理中心网站或PowerShell:在PowerShell中,执行 Uninstall-SPSolution cmdlet撤回已部署的解决方案,然后执行 删除SPSolution 可以从服务器场中完全删除解决方案.

You can a complete list of all the solutions installed in the farm by executing the Get-SPSolution cmdlet.
To manually remove a solution you can either use the Central Administration web site or PowerShell: in PowerShell, execute the Uninstall-SPSolution cmdlet to retract a deployed solution and then execute the Remove-SPSolution to completely remove a solution from the farm.

再见.


这篇关于如何从服务器场中手动删除解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆