balinder singh
balinder singh

Reputation: 103

License for feature 'SimpleContactManagement' not found in Kentico

Getting this in event log. Looks like Smart search is trying to index Contact objects. I have Search index on Contacts. I have EMS license. We are creating/updating contacts using Kentico out of the box Rest api as well.

Any idea, in which case it could happen? could it be user level access issue? or it is something related to License?

Description:Cannot obtain object with type om.contact and ID 2317585.
Exception:Message: License for feature 'SimpleContactManagement' not found.
Exception type: CMS.DataEngine.LicenseException
Stack trace:
at CMS.LicenseProvider.LicenseHelperInternal.ReportLicenseError(String redirectUrl, String message)
at CMS.LicenseProvider.LicenseHelper.ReportFailedLicenseCheck(FeatureEnum feature, String domain, Boolean throwError)
at CMS.LicenseProvider.LicenseService.CheckLicense(FeatureEnum feature, String domain, Boolean throwError)
at CMS.DataEngine.AbstractInfoProvider`3.GetObjectQuery(Boolean checkLicense)
at CMS.DataEngine.AbstractInfoProvider`3.GetInfoByColumn[T](String columnName, T value)
at CMS.DataEngine.AbstractInfoProvider`3.GetInfoById(Int32 id, Boolean useHashtable)
at CMS.DataEngine.AbstractInfoProvider`3.CMS.DataEngine.IInfoProvider.GetInfoById(Int32 id)
at CMS.Search.Internal.IndexLogger.LogTaskStart(SearchTaskInfo taskInfo)```

Upvotes: 0

Views: 211

Answers (1)

Brenden Kehren
Brenden Kehren

Reputation: 6117

Check to make sure the Contact module/code is installed. You can check in the Modules application as well as looking in the code files in the following directories:

/Bin/CMS.Automation.dll
/Bin/CMS.ContactManagement.dll
/Bin/CMS.OnlineMarketing.dll
/CMSModules/Automation
/CMSModules/ContactManagement
/CMSModules/OnlineMarketing

If any of those or other EMS features are missing in the database or in the code base, then you'll get those errors. If this is an existing install and you're just receiving these errors, I'd suggest a few things to try:

  1. Restart the website (website and application pool)
  2. Rebuild the smart search index(es)
  3. If the rebuild fails, check the file system (/App_Data/CMSModules/SmartSearch/) for any .lock files and remove them, then attempt a rebuild.
  4. Check the scheduled task which rebuilds or optimizes the indexes isn't set to a non-global admin.
  5. Knowing this doesn't appear to be a macro related issue, you could try to resign your macros and see if this helps (probably a last resort though).

Upvotes: 2

Related Questions