如何从 Sharepoint 2010 强制卸载 Web 部件
我正在尝试删除 Sharepoint Server 2010 中的一个 Web 部件,进入
管理 -> 系统设置 -> 管理场解决方案。Web
部件显示此消息“部署状态:错误”
我正在尝试“撤回解决方案”,并且似乎工作,但是当我尝试重新部署 Web 部件时,我收到消息“执行步骤‘添加解决方案’时出错:已在这组服务器中安装了 ID 为 XXX-XXX - XXX 的功能。使用强制属性明确地重新添加该功能。”
我怎样才能彻底删除这个网页部件?
I'm trying to delete a webpart in Sharepoint Server 2010 going at
administration->system settings->manage farm solutions..
And the Webpart shows this message "Deployment Status: Error"
I'm trying "retract solution" and seems work, but when I'm trying to re-deploy the webpart I get the message "Error in the implementation step 'Add Solution': Already installed a feature with ID XXX-XXX - XXX in this set of servers. Use the force attribute to re-add the feature explicitly."
How can I absolute delete this webpart?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
听起来您需要强制卸载该功能。以下是您可以从 stsadm 运行的命令。
完成此操作后,您可以重新部署您的解决方案。
It sounds like you need to force uninstall the feature. Here is the command you can run from stsadm.
Once this is done you can redeploy your solution.
我认为您在这里混合了一些术语。在中央管理中,您只有解决方案(即 WSP 文件)。在此解决方案中,您可能有一个 Web 部件或您想要部署的任何其他内容。
您现在声明要部署的解决方案的状态为“部署错误”,并且您可以撤回该解决方案。
您没有说明的是:撤回解决方案后,您是否删除了它?这是必须要做的!尝试撤消后删除该解决方案,然后重新上传并尝试再次部署。
如果您想强制删除,有多种可能性,例如使用 Powershell 或 stsadm。
I think you are mixing some terminologies here. In the central administration you only have solutions (i.e. WSP files). Inside this solution you might have a webpart or anything else you want to deploy.
You now state that the solution you want to deploy has the status "deployment error" and you are able to retract the solution.
What you didn't state: After retracting the solution, did you delete it? This needs to be done! Try to delete the solution after retracting, then upload it again and try to deploy again.
If you want to force a deletion there are several possibilities, e.g. using Powershell or stsadm.