Issue

When activating a Site Collection with the same name as another previously activated Site Collection, the Activation process does not complete successfully, with the status of the Site Collection remaining as "To Activate".

Symptoms

The K2 Host Server Logs shows the following errors at the time of the activation process:

"Error","General","0","ErrorMessage","IntegrationService.Execute","0 System.Exception: A SharePoint site collection – Site Collection Title (Site Collection URL) – is already registered with this title. Duplicate SharePoint group providers are not allowed. Either remove the current SP group provider if it is no longer needed or change the title of this site collection.


"Error","SmartObjects","10702","Error","SourceCode.SmartObjects.ServiceBroker [ExecuteSmartObject]","10702 An error occurred in the SharePointIntegration Service Instance. A SharePoint site collection – Site Collection Title (Site Collection URL) – is already registered with this title. Duplicate SharePoint group providers are not allowed. Either remove the current SP group provider if it is no longer needed or change the title of this site collection.

Resolution

The errors indicate that there's already a SharePoint Group Provider record for another Site Collection that is using the same name as the title of the Site Collection you're trying to activate.

The values in the Site Collection Title and Site Collection URL placeholders in the error message above identifies which other activated Site Collection is using the same title. 

When a Site Collection is activated, K2 creates a corresponding Group Provider record with its name as the title of the Site Collection. However, if you have previously activated another Site Collection with the same title as the current one you're trying to activate, that will mean the Group Provider name the activation process wants to use, has already been taken. And as the Group Provider names has to be unique, the activation process can't create the record, resulting in the errors above.

To resolve the issue:

  1. Either change the Title of the Site Collection you're trying to activate, or delete the existing SharePoint Group Provider of the same name from K2 Management if it's no longer in use (See this help page for more information)
  2. Activate the Site Collection again.