0

在事件日志中获取此信息。看起来智能搜索正在尝试索引联系人对象。我在联系人上有搜索索引。我有EMS许可证。我们也在使用 Kentico 开箱即用的 Rest api 创建/更新联系人。

任何想法,在这种情况下可能会发生吗?可能是用户级访问问题吗?还是与许可证有关?

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)```
4

1 回答 1

2

检查以确保安装了联系模块/代码。您可以签入 Modules 应用程序以及查看以下目录中的代码文件:

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

如果数据库或代码库中缺少任何这些或其他 EMS 功能,那么您将收到这些错误。如果这是现有安装并且您刚刚收到这些错误,我建议您尝试以下方法:

  1. 重启网站(网站和应用程序池)
  2. 重建智能搜索索引
  3. 如果重建失败,请检查文件系统 (/App_Data/CMSModules/SmartSearch/) 是否有任何 .lock 文件并删除它们,然后尝试重建。
  4. 检查重建或优化索引的计划任务是否设置为非全局管理员。
  5. 知道这似乎不是与宏相关的问题,您可以尝试辞职宏,看看这是否有帮助(尽管可能是最后的手段)。
于 2020-03-03T14:38:04.830 回答