Kentico API Page Publish: The licence limit for feature SocialMarketing was exceeded

Bob Haring asked on December 15, 2017 10:55

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.

Recent Answers


David te Kloese answered on December 15, 2017 11:44

Hi Bob,

  • could you check if any 'non-EMS licenses' present in the solution? (remove if not needed)
  • Is auto posting to Twitter/Facebook enabled in the settings? (disable if not needed)
0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on December 15, 2017 15:50

There are also some license bugs in previous versions which were fixed with a hotfix. You can check out these bugs here:

https://devnet.kentico.com/download/hotfixes

0 votesVote for this answer Mark as a Correct answer

Bob Haring answered on December 19, 2017 10:20

Thanks for your replies.

@Brenden I had a look at it and it seems that there was an issue with it that was fixed on version 8.0.6. The solution we are running is 8.2.49.

@David I wasn't aware that there was a setting regarding the auto posting in settings. You can enable auto posting in an advanced workflow but we are using a standard one.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.