Showing posts with label Unable to add selected web part(s). Show all posts
Showing posts with label Unable to add selected web part(s). Show all posts

04 July, 2009

Summary Links Web Part (Error 0x80070002)

Today, We faced one wierd error message regarding Summary Links Webpart.
Due to some requirement, one of the user in my project demanded me the replication of one of the site collections. So, Itried to take the export and imported it one to a new one with blank site template. Export and import both were successfull and replication has been done properly but the problem starts now, when we open the site and we found out one error message related to Summary Link Webpart.

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 is usually raised when you 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