Fix "Missing Web Parts" issue in SharePoint Migration
In MOSS 2007 to SharePoint 2010 migration, got this Preupgradecheck issue: The following web part(s) are referenced by the content, but they are not installed on the web server
Solution: Enumerate all web parts and find the missing ones. Remove the faulty web part from the referenced pages. To Enumerate all web parts, Run this STSADM command line:
stsadm.exe -o enumallwebs -includewebparts
Open the report it generated, search for "Missing"
Open the referred pages in Web Part Maintenance mode (append "?contents=1" to the end of URL. E.g. http://sharepoint.company.com/sites/sales/reports.aspx?contents=1) and delete those faulty web parts!
Another utility to do the same thing:
http://blogs.microsoft.co.il/blogs/leonide/SPNavigationUpdate/WebPartView.zip
Solution: Enumerate all web parts and find the missing ones. Remove the faulty web part from the referenced pages. To Enumerate all web parts, Run this STSADM command line:
stsadm.exe -o enumallwebs -includewebparts
Open the report it generated, search for "Missing"
Open the referred pages in Web Part Maintenance mode (append "?contents=1" to the end of URL. E.g. http://sharepoint.company.com/sites/sales/reports.aspx?contents=1) and delete those faulty web parts!
You must have October CU for this command line to work!!!
Another utility to do the same thing:
http://blogs.microsoft.co.il/blogs/leonide/SPNavigationUpdate/WebPartView.zip
Thank you very much for sharing. Please keep up the good work.
ReplyDelete