Showing posts with label Error 0x80070002. Show all posts
Showing posts with label Error 0x80070002. Show all posts

Sunday, July 15, 2012

Summary Links Web Part (Error 0x80070002)

After site replication (export-import) we got following error in summary link web part

Unable to add selected web part(s). Could not load XSL file. The system cannot find the file specified.(Exception from HRESULT: 0x80070002).

Solution:
  • This error basically related to site publishing feature
  • When we try to add a publishing-related web part (such as Summary Links) into a non-publishing site. You have to either add it into a site built with a publishing template (Collaboration Portal or Publishing Portal), or to activate the publishing features manually
  • Activate Office SharePoint Server Publishing Infrastructure feature in site collection features, in Site Collection Administration section of Site Settings page
  • Activate Office SharePoint Server Publishing feature in destination site features, located on Site Administration section of Site Settings page