具体错误说明:

 

[MissingSetupFile] 数据库 [WSS_Content] 中引用了文件 [Features\HelloWorldWebpart_Feature1\VisualWebPart1\VisualWebPart1.webpart] [1] 次,但其未安装在当前服务器场中。请安装包含此文件的任何功能/解决方案。 一个或多个安装文件在数据库 [WSS_Content] 中引用,但未安装在当前服务器场中。请安装包含这些文件的任何功能或解决方案。
[MissingSetupFile] 数据库 [WSS_Content] 中引用了文件 [Features\HelloWorldWebpart_Feature1\WebPart1\WebPart1.webpart] [1] 次,但其未安装在当前服务器场中。请安装包含此文件的任何功能/解决方案。 一个或多个安装文件在数据库 [WSS_Content] 中引用,但未安装在当前服务器场中。请安装包含这些文件的任何功能或解决方案。

原因:

之前在sharepoint网站上部署过两个webpart,后来将之从网站webpart库中删除了。虽然是从库中删除了,但仍然保留在“回收站”中。

解决方法:

删除“回收站”内的这两个webpart文件,重新检查运行状态后,问题解决。

Please note that if you do decide to delete a workflow or a file from the site, remember to remove the file from the site Recycle Bin and Site Collection Recycle Bin to ensure the file is removed from the content database. If not, the error may not disappear from the Health Analyzer.