Confluence Documentation

Confluence Latest 
Confluence 5.3 Documentation 
Confluence 5.2 Documentation 
Confluence 5.1 Documentation 
More...
 

 

Search the Confluence Knowledge Base

You're visiting the Confluence Knowledge Base. Visit the Confluence Knowledge Base Home for an overview.

Skip to end of metadata
Go to start of metadata

Symptoms

  • SafeControl entries for the Federated Search Results WebPart have not been added successfully when the SharePoint Connector feature is installed.
  • A web part or webform control on this web part page cannot be displayed or imported because it is not registered on this site as safe

Cause

SharePoint requires that all custom Web Parts have an entry in the SharePoint site's web.config that marks the control as 'safe' for use. This step is normally performed by the SharePoint Connector installer, but in some cases it may fail to be configured automatically. See relevant bug report: CSI-642.

Resolution

Manually add the SafeControl entry to the root web.config of your SharePoint server(s):

  1. Open C:\Inetpub\wwwroot\wss\VirtualDirectories\80\web.config.
  2. Locate the <SafeControls> element and add the following child elements:
    For SharePoint 2007
    For SharePoint 2010
  3. If that does not help, un-install/re-install the SharePoint Connector feature and repeat the above step.

Still not working?

Icon
  1. Check out SharePoint Site Collection's Web Part Gallery and examine the XML snippet for the Confluence Federated Search Results Web Part. To do this, go to _catalogs/wp/ConfluenceFederatedResultsWebPart.webpart in root SharePoint site. A correct output should be:
  2. If it does not match, browse to _catalogs/wp/Forms/AllItems.aspx in root SharePoint site and upload the attached ConfluenceFederatedResultsWebPart.webpart to the Web Part Gallery (make sure 'overwrite existing files' is selected). Note that this has to be performed for every SharePoint Site Collection that has the SharePoint Connector installed. Finally, reset IIS.

Related Content


Help us improve!
Is this article helpful?
Is the content complete?
Is it well written?