Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 13778

Remove references in database to Missing Setup Files and Missing Web Parts

$
0
0

A while ago I was playing with web parts and trying things out. I never kept any of the web parts I worked on and have moved on. I am now getting 'Missing server side dependencies' from the Health Analyzer:

[MissingSetupFile] File [Features\Test_Feature1\VisualWebPart1\VisualWebPart1.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 [7fd3a6cd-acb4-2498-c83c-9d8f6bae7a36] (class [VisualWebPartProject8.VisualWebPart1.VisualWebPart1] from assembly [VisualWebPartProject8, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ceaac78b6819e36e]) is referenced [5] 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. 

I have no desire to keep these web parts anymore and would like to remove the references in the database, rather than installing the solutions.

Will there be any issues with running a DELETE * FROM WSS_Content.dbo.AllWebParts WHERE tp_WebPartTypeId = 'guid' SQL statement? If so, how do I properly remove these references from the database?

 


Viewing all articles
Browse latest Browse all 13778

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>