Enterprise Vault for Sharepoint: Site collection will not be enabled as it has already been enabled

book

Article ID: 100041898

calendar_today

Updated On:

Description

Error Message

In the SP Archive Report on the EV server the following error is generated:

  *** Warning *** This site collection will not be enabled Site collection with id 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' has already been enabled with url

Cause

A SP target in EV has the same subsite ID as the new site attempting to archive data.  The subsite ID corresponds with the SharePointSiteId column of the SharePointTLSTarget table in the EnterpriseVaultDirectory database.  For each SP target in EV there is a entry in this table with a unique SharePointSiteId, which is pulled automatically from SP each time the task runs. 

The error can occur if a site is copied or backed up and then used to create a new site in SP.  SP permits duplicate site and subsite ID's so this does not cause an issue in the content database but will fail when attempting to archive in EV because we require it to be unique. 

Resolution

Change the subsite ID in the SP content database for the .  Updating this value is out of the scope of EV Support and must be completed by a SP administrator.  However to identify the correct site ID note that the SharePointSiteId correlates with the SPWeb value in SP.

Run the following command in the SP Management Shell to identify the ID that needs to be changed (Get-SPWeb):

Get-SPWeb -site  | FL ID

Run the following query to confirm the value that EV is pulling from SP that correlates with the SPWeb value:

USE EnterpriseVaultDirectory

SELECT TLSPathURL,SharePointSiteId FROM SharePointTLSTarget

 

Issue/Introduction

Enterprise Vault (EV) fails to archive an entire SharePoint (SP) site target when the task is run.