Workspace creation Error occured - Exception Contentdb null

Workspace creation Error occured - Exception Contentdb null


Symptom


When creating a Workspace you receive the following error in the ULS log and status is set to "Error occured":


ULS Error:


Solutions2Share.Solutions.CollaborationManager.Services.Components.Workspace.CreateFromTemplateInternal: Contentdb null or not in ContentDBCollection. ExceptionType: 'Exception' ExceptionMessage: 'Contentdb null or not in ContentDBCollection.' StackTrace: ' at Solutions2Share.Solutions.CollaborationManager.Services.Components.Workspace.CreateFromTemplateInternal(String siteUrl, String SiteTitle, UInt32 lcid, SPUser owner, Byte[] TemplateFile, SPListItem workspaceListItem, Boolean createArchivedWS, Guid contentdbid, String customWorkspaceUrl, Nullable`1 isHostNamedSiteCollection)' Source: 'Solutions2Share.Solutions.CollaborationManager.Services' TargetSite: 'Solutions2Share.Solutions.CollaborationManager.Services.Container.CreateWorkspaceResult CreateFromTemplateInternal(System.String, System.String, UInt32, Microsoft.SharePoint.SPUser, Byte[], Microsoft.SharePoint.SPListItem, Boolean, System.Guid, System.String, System.Nullable`1[System.Boolean])'

 

Cause

You may have enabled automatic database creation and no quote may have been applied to the template. Thus quota calculation cannot occur which results in an error. 


Solution

Go into Collaboration Manager's Template library, edit the properties of the affected template and make sure a correct quota has been applied.


More Information

This applies to:

  • Collaboration Manager 2.2.1.0 
  • Collaboration Manager 2.1.1.0


    • Related Articles

    • Workspace creation Error occured - Unauthorized Access Exception

      Symptom After creating a workspace the status column in the workspace list shows an Error Occurred. The log shows this or an similar error : Solutions2Share.Solutions.CollaborationManager.Services.Components.Workspace.CreateFromTemplateInternal: ...
    • First template creation results an error

      Problem: The first template creation results in an error. The second one creates normally. Solution: Please delete the first template. After that, creation of templates works again without limitations UPDATE: The bug is fixed. 
    • Error during template creation "The EXECUTE premission was denied"

      Error in Log Excpetion occured in CM Service application. Error System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: The EXECUTE permission was denied on the object 'proc_putObjectTVP', database 'configDB_name'  Reason In the ...
    • Error occured in Workspace generation with Nintex Workflow

      Problem: When you create a workspace with Nintex Workflow status runs on "error occured". Reason: The error in the list can be caused by the "Workflow Tasks". The Collaboration Manager detects "two" lists because of the space character. Solution: ...
    • Create a workspace through workflow results in Internal Server error 500

      Symptoms You receive "The remote server returned an error: (500) Internal Server Error." in the workflow enginge like Nintex or in ULS. Furthermore you're receiving errors in ULS log at the time you get the Internal Server Error: 03.03.2016 ...