In SharePoint 2010 the Health Analyzer shows an 'Missing Server Side Dependencies' error message. In the past a SharePoint solution was deployed, but currently it don't exist in the farm anymore. But something is still referencing to particular files in the Features folder.
The SharePoint solution sets a custom master page on each site in a Site Collection. When the feature is deactivated, the master pages are set back to the original v4.master and the custom master pages are removed. I receive the following error message:
[MissingSetupFile] File [Features\SharePoint2010CompanyBranding_CompanyBranding\MasterPageGallery\Company.master] is referenced  times in the database [WSS_Content_support.sharepoint.test.net], 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_support.sharepoint.test.net], but are not installed on the current farm. Please install any feature or solution which contains these files.
Does anybody know how to fix this?