我目前遇到的问题是,最初在SharePoint 2010上定位并从SharePoint 2010 wsp安装的WebParts在某些SharePoint 2013部署中引发了“错误”错误。
请注意:WebParts与搜索或搜索服务应用程序无关(根据Missing server side dependencies)。
具体错误可以在下面看到,但简而言之:
Title: Missing server side dependencies
Severity: 1 – Error
Category: Configuration
Explanation:
[MissingSetupFile] File [Features\xxx-WebParts\yyy\zzz.webpart] is referenced [1]
times in the database [WSS_Content], but is not installed on the current farm.
Please install any feature/solution which contains this file. One or more setup
files are referenced in the database [WSS_Content], but are not installed on the
current farm. Please install any feature or solution which contains these files.
WebParts正在运行,没有任何问题,所有似乎都正确部署。
我通过执行以下操作重新创建了此问题,
1. Web application exists with Compatibility range,
a. MinCompatibilityLevel = 14
b. MaxCompatibilityLevel = 15
2. WSP with WebPart is installed without any issues
(no reports in the health analyzer)
3. I modify the Compatibility range in the SharePoint
Management Shell
a. MinCompatibilityLevel = 15
b. MaxCompatibilityLevel = 15
4. Run the Health check jobs.
5. The error now presents itself within Central Administration
under “Review problems and solutions”.
6. To resolve the issue I thought to revert the compatibility
range back to,
a. MinCompatibilityLevel = 14
b. MaxCompatibilityLevel = 15
7. After changing, the errors remain.
Re-run health checks and the errors remain.
我还没弄清楚如何在出现错误时解决错误。
如何解决这些错误,使其不再出现在管理中心的“审核问题和解决方案”中?
此处的完整错误报告
Title Missing server side dependencies.
Severity 1 - Error
Category Configuration
Explanation
[MissingSetupFile] File [Features\xxx-WebParts\xxx\xxx.webpart] is referenced [1]
times in the database [WSS_Content], but is not installed on the current farm.
Please install any feature/solution which contains this file. One or more setup
files are referenced in the database [WSS_Content], but are not installed on the
current farm. Please install any feature or solution which contains these files.
[MissingSetupFile] File [Features\xxx-WebParts\xxx\xxx.webpart] is referenced [1]
times in the database [WSS_Content], but is not installed on the current farm.
Please install any feature/solution which contains this file. One or more setup
files are referenced in the database [WSS_Content], but are not installed on the
current farm. Please install any feature or solution which contains these files.
[MissingSetupFile] File [Features\xxx-WebParts\xxx\xxx.webpart] is referenced [1]
times in the database [WSS_Content], but is not installed on the current farm.
Please install any feature/solution which contains this file. One or more setup
files are referenced in the database [WSS_Content], but are not installed on the
current farm. Please install any feature or solution which contains these files.
[MissingSetupFile] File [Features\xxx-WebParts\xxx\xxx.webpart] is referenced [1]
times in the database [WSS_Content], but is not installed on the current farm.
Please install any feature/solution which contains this file. One or more setup
files are referenced in the database [WSS_Content], but are not installed on the
current farm. Please install any feature or solution which contains these files.
[MissingSetupFile] File [Features\xxx-WebParts\xxx\xxx.webpart] is referenced [1]
times in the database [WSS_Content], but is not installed on the current farm.
Please install any feature/solution which contains this file. One or more setup
files are referenced in the database [WSS_Content], but are not installed on the
current farm. Please install any feature or solution which contains these files.
[MissingSetupFile] File [Features\xxx-WebParts\xxx\xxx.webpart] is referenced [1]
times in the database [WSS_Content], but is not installed on the current farm.
Please install any feature/solution which contains this file. One or more setup
files are referenced in the database [WSS_Content], but are not installed on the
current farm. Please install any feature or solution which contains these files.
[MissingSetupFile] File [Features\xxx-WebParts\xxx\xxx.webpart] is referenced [1]
times in the database [WSS_Content], but is not installed on the current farm.
Please install any feature/solution which contains this file. One or more setup
files are referenced in the database [WSS_Content], but are not installed on the
current farm. Please install any feature or solution which contains these files.
[MissingWebPart] WebPart class [ac91b8ba-f338-de25-0ac8-9a7c26ee7f1c] (class [xxx]
from assembly [xxx, Version=1.0.0.0, Culture=neutral, PublicKeyToken=82d6cd9a489a599c])
is referenced [4] times in the database [WSS_Content], 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 [WSS_Content], but are not installed
on the current farm. Please install any feature or solution which contains these web parts.
Remedy
For more information about this rule, see "http://go.microsoft.com/fwlink/?LinkID=142689".
感谢。