Cleaning content database from missing files after upgrading

General Notes:

  1. Take backup form content database
  2. Run it in testing server before go production
  3. Run Test-SPContentDatabase again and again and make sure all issues are fixed
  4. Sometimes missing files issues could be in pages in recycle bin or in old page versions

Issue 1: MissingFeature

Fix: Follow steps in this article

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

Or use this tool SharePoint Feature Administration and Clean Up Tool to find and delete broken features in a SharePoint farm

https://github.com/achimismaili/featureadmin

Issue 2: MissingSetupFile

Fix: Follow steps in this article

http://get-spscripts.com/2011/06/diagnosing-missingsetupfile-issues-from.html

Issue 3 & 4 : MissingWebPart & MissingAssembly

Fix: Follow steps in this article

http://get-spscripts.com/2011/08/diagnose-missingwebpart-and.html

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s