缺少服务器端依赖项 [英] Missing server side dependencies

查看:21
本文介绍了缺少服务器端依赖项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我在 Sharepoint Central Admin 中收到警报,提示 SharePoint 运行状况分析器检测到一些关键问题.

I am getting an alert in Sharepoint Central Admin that The SharePoint Health Analyzer has detected some critical issues.

在检查时,我发现警报如下:

On checking, I found the alerts like:

[MissingSetupFile] 文件 [Features\xxxx\xxxx\xxx] 被引用 1 次在数据库 [PROD01_Content_xxxx] 中,但仅存在于 Microsoft SharePoint Foundation 2010 安装文件夹下.考虑将包含此文件的功能/解决方案升级到最新版本.数据库 [PROD01_Content_xxxx] 中引用了一个或多个安装文件,但未安装在当前场中.请安装包含这些文件的任何功能或解决方案.

[MissingSetupFile] File [Features\xxxx\xxxx\xxx] is referenced 1 times in the database [PROD01_Content_xxxx], but exists only under Microsoft SharePoint Foundation 2010 setup folder. Consider upgrading the feature/solution which contains this file to the latest version. One or more setup files are referenced in the database [PROD01_Content_xxxx], but are not installed on the current farm. Please install any feature or solution which contains these files.

[MissingFeature] 数据库 [PROD01_Content_xxxx] 引用了一个缺失的特征:Id = [f99f774c-6160-4bb6-8519-10e30b02d5b3].数据库 [PROD01_Content_xxxx] 中引用了 ID 为 f99f774c-6160-4bb6-8519-10e30b02d5b3 的功能,但未安装在当前场中.缺少的功能可能会导致升级失败.请安装任何包含该功能的解决方案,并在必要时重新启动升级.

[MissingFeature] Database [PROD01_Content_xxxx] has reference(s) to a missing feature: Id = [f99f774c-6160-4bb6-8519-10e30b02d5b3]. The feature with Id f99f774c-6160-4bb6-8519-10e30b02d5b3 is referenced in the database [PROD01_Content_xxxx], but is not installed on the current farm. The missing feature may cause upgrade to fail. Please install any solution which contains the feature and restart upgrade if necessary.

[MissingWebPart] WebPart 类 [a9bc1035-cf56-e003-8a4d-fff0bb3da148](类 [Microsoft.Office.Server.Search.WebControls.SearchApplicationSystemStatus] 来自程序集 [Microsoft.Office.Server.Search,版本 = 15.0.0.0], Culture=neutral, PublicKeyToken=71e9bce111e9429c]) 被引用 1 次在数据库 [PROD01_SharePoint_AdminContent] 中,但未安装在当前场中.请安装包含此 Web 部件的任何功能/解决方案.数据库 [PROD01_SharePoint_AdminContent] 中引用了一个或多个 Web 部件,但未安装在当前场中.请安装包含这些 Web 部件的任何功能或解决方案.

[MissingWebPart] WebPart class [a9bc1035-cf56-e003-8a4d-fff0bb3da148] (class [Microsoft.Office.Server.Search.WebControls.SearchApplicationSystemStatus] from assembly [Microsoft.Office.Server.Search, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c]) is referenced 1 times in the database [PROD01_SharePoint_AdminContent], but is not installed on the current farm. Please install any feature/solution which contains this web part. One or more web parts are referenced in the database [PROD01_SharePoint_AdminContent], but are not installed on the current farm. Please install any feature or solution which contains these web parts.


我点击了链接:

I followed the link:

http://get-spscripts.com/2011/06/removing-features-from-content-database.html

但不幸的是,在运行脚本时,它显示未找到该功能.

But unfortunately, on running the script, it shows the feature does not found.

我想提到的一件事是:我已经在 2013 版本上部署了 sharepoint 2010 wsp.这是出现 [MissingSetupFile] 错误的原因吗?

One thing I would like to mention is: I've deployed the sharepoint 2010 wsp on 2013 version.Is this the reason for getting [MissingSetupFile] error?

我能做什么?任何帮助将不胜感激.

What can I do? Any help will be appreciated.

谢谢,

推荐答案

请注意第一条消息但仅存在于 Microsoft SharePoint Foundation 2010 安装文件夹下".这意味着您已将 2010 年的解决方案部署到 2013 年的服务器场中.但是只能安装到14个hive.要使该解决方案在 2013 场中正常工作,还需要将其安装到 15 个蜂巢中.

Pay attention to the first message that says "but exists only under Microsoft SharePoint Foundation 2010 setup folder" . This means that you have deployed a 2010 solution into a 2013 farm. But is only installed to 14 hive. for the solution to work properly in the 2013 farm, it needs to be installed to the 15 hive also.

这是安装到 14 和 15 配置单元的 PowerShell.Install-SPSolution -Identity '你的自定义解决方案.wsp' -GACDeployment -CompatibilityLevel {14,15} -AllWebApplications –force

Here is the PowerShell that installs to both 14 and 15 hive. Install-SPSolution -Identity 'your custom solution.wsp' -GACDeployment -CompatibilityLevel {14,15} -AllWebApplications –force

这篇关于缺少服务器端依赖项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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