Currently we have a project where we are creating and publishing documents, and currently we have problem that sometimes surfaces.
When we create a new document and then publish through the Kentico API we sometimes get the error message in the event log “The licence limit for feature SocialMarketing was exceeded”.
Below is an excerpt of the event log message:
EventDescription:
Message: The licence limit for feature SocialMarketing was exceeded
Exception type: CMS.DataEngine.LicenseException
Stack Trace:
at CMS.LicenseProvider.LicenseHelperInternal.ReportLicenseError(String redirectUrl, String message)
at CMS.LicenseProvider.LicenseHelper.GetAllAvailableKeys(FeatureEnum feature)
at CMS.SocialMarketing.FacebookPostInfoProvider.CheckLicense(ObjectActionEnum action, String domainName)
at CMS.DataEngine.AbstractInfoProvider`2.GetObjectQuery(Boolean checkLicense)
at CMS.SocialMarketing.FacebookPostInfoProvider.GetFacebookPostInfosByDocumentGuidInternal(Guid documentGuid, Int32 documentSiteId)
at CMS.SocialMarketing.SocialMarketingHandlers.Workflow_Publish_After_Facebook(Object sender, WorkflowEventArgs e)
at CMS.Base.AbstractHandler.CallEventHandler[TArgs](EventHandler`1 h, TArgs e)
at CMS.Base.AbstractHandler.Raise[TArgs](String partName, List`1 list, TArgs e, Boolean important)
at CMS.Base.AdvancedHandler`2.RaiseAfter(TArgs e)
at CMS.Base.AdvancedHandler`2.RaiseAfter(TArgs e)
at CMS.Base.AdvancedHandler`2.Finish()
at CMS.DocumentEngine.VersionManager.PublishVersionInternal(Int32 versionHistoryId, Boolean checkPublish)
at CMS.DocumentEngine.WorkflowManager.MoveToStepInternal(TreeNode node, WorkflowStepInfo currentStep, WorkflowStepInfo step, String comment, Boolean increasePublishVersionNumber, WorkflowTransitionTypeEnum transitionType, Boolean handleActions)
at CMS.DocumentEngine.WorkflowManager.MoveToSpecificStepInternal(TreeNode node, WorkflowStepInfo step, String comment, Boolean increasePublishVersionNumber, WorkflowTransitionTypeEnum transitionType, WorkflowActionEnum action)
at CMS.DocumentEngine.WorkflowManager.MoveToPublishedStepInternal(TreeNode node, String comment, Boolean increasePublishVersionNumber)
at CMS.DocumentEngine.WorkflowManager.MoveToPublishedStep(TreeNode node, String comment, Boolean increasePublishVersionNumber)
at ABA.Library.Import.CourseImportTask.CloneCourseToArchive(ITreeNodeExtension nodeToClone, CourseData courseData, Boolean rerun)
at ABA.Library.Import.CourseImportTask.CloneAndUpdateCourse(ITreeNodeExtension nodeToUpdate, CourseData courseData, XElement xItem, Boolean rerun)
at ABA.Library.Import.CourseImportTask.ImportXml()
Message: The licence limit for feature SocialMarketing was exceeded
Exception type: CMS.DataEngine.LicenseException
Stack Trace:
at CMS.LicenseProvider.LicenseHelperInternal.ReportLicenseError(String redirectUrl, String message)
at CMS.LicenseProvider.LicenseHelper.GetAllAvailableKeys(FeatureEnum feature)
at CMS.SocialMarketing.FacebookPostInfoProvider.CheckLicense(ObjectActionEnum action, String domainName)
at CMS.DataEngine.AbstractInfoProvider`2.GetObjectQuery(Boolean checkLicense)
at CMS.SocialMarketing.FacebookPostInfoProvider.GetFacebookPostInfosByDocumentGuidInternal(Guid documentGuid, Int32 documentSiteId)
at CMS.SocialMarketing.SocialMarketingHandlers.Workflow_Publish_After_Facebook(Object sender, WorkflowEventArgs e)
at CMS.Base.AbstractHandler.CallEventHandler[TArgs](EventHandler`1 h, TArgs e)
at CMS.Base.AbstractHandler.Raise[TArgs](String partName, List`1 list, TArgs e, Boolean important)
at CMS.Base.AdvancedHandler`2.RaiseAfter(TArgs e)
at CMS.Base.AdvancedHandler`2.RaiseAfter(TArgs e)
at CMS.Base.AdvancedHandler`2.Finish()
at CMS.DocumentEngine.VersionManager.PublishVersionInternal(Int32 versionHistoryId, Boolean checkPublish)
at CMS.DocumentEngine.WorkflowManager.MoveToStepInternal(TreeNode node, WorkflowStepInfo currentStep, WorkflowStepInfo step, String comment, Boolean increasePublishVersionNumber, WorkflowTransitionTypeEnum transitionType, Boolean handleActions)
at CMS.DocumentEngine.WorkflowManager.MoveToSpecificStepInternal(TreeNode node, WorkflowStepInfo step, String comment, Boolean increasePublishVersionNumber, WorkflowTransitionTypeEnum transitionType, WorkflowActionEnum action)
at CMS.DocumentEngine.WorkflowManager.MoveToPublishedStepInternal(TreeNode node, String comment, Boolean increasePublishVersionNumber)
at CMS.DocumentEngine.WorkflowManager.MoveToPublishedStep(TreeNode node, String comment, Boolean increasePublishVersionNumber)
at ABA.Library.Import.CourseImportTask.CloneCourseToArchive(ITreeNodeExtension nodeToClone, CourseData courseData, Boolean rerun)
at ABA.Library.Import.CourseImportTask.CloneAndUpdateCourse(ITreeNodeExtension nodeToUpdate, CourseData courseData, XElement xItem, Boolean rerun)
at ABA.Library.Import.CourseImportTask.ImportXml()
We are using a full Enterprise marketing solution License.
Does anyone seem to know what is happening? Again this seems to happen irregularly and there doesn’t seem to be pattern to it.