【问题标题】:Sitecore issue: Could not get pipeline: listManagement.getLockedLists (domain: )Sitecore 问题:无法获取管道:listManagement.getLockedLists(域:)
【发布时间】:2016-02-23 12:25:11
【问题描述】:

我在日志文件中发现以下错误消息:

ManagedPoolThread #16 11:21:54 INFO 作业开始:Sitecore.ListManagement.Analytics.UnlockContactListsAgent ManagedPoolThread #16 11:21:54 错误异常 异常:System.Reflection.TargetInvocationException 消息:调用的目标已引发异常。 来源:mscorlib

at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at (Object , Object[] )
   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)
   at Sitecore.Jobs.Job.ThreadEntry(Object state)

嵌套异常

异常:System.InvalidOperationException 消息:无法获取管道:listManagement.getLockedLists(域:)

来源:Sitecore.Kernel 在 Sitecore.Pipelines.CorePipeline.Run(字符串 pipelineName,PipelineArgs 参数,字符串 pipelineDomain,布尔值 failIfNotExists) 在 Sitecore.ListManagement.ContentSearch.PipelineBasedContactListStore2.GetLockedListIds() at Sitecore.ListManagement.ListManager2.GetLockedLists() 在 Sitecore.ListManagement.Analytics.UnlockContactListsAgent.Execute()

每分钟写入一次日志文件。无法弄清楚如何解决此问题。

任何帮助将不胜感激。

【问题讨论】:

  • 您使用的是什么版本的 sitecore?你有更新吗?
  • 是的,我同意@SitecoreClimber。这很可能是您的配置文件和 Sitecore 二进制文件不匹配。

标签: sitecore


【解决方案1】:

listManagement.getLockedLists 管道在App_Config\Include\ListManagement\Sitecore.ListManagement.config 文件中定义。

您应该检查该文件是否存在于您的本地 Sitecore 实例中。

如果没有,请检查使用相同版本的干净 Sitecore 实例并从那里复制此文件。

【讨论】:

  • 感谢您提供信息,但该文件存在
  • 是否包含缺失管道的定义?如果您可以在那里找到定义,请查看/sitecore/admin/showconfig.aspx
  • 不,它没有。我已将此配置文件替换为清除 Sitecore 8.1 版本中的一个,现在看起来日志文件中没有更多错误消息。感谢您的帮助
【解决方案2】:

当您升级 Sitecore 版本或启动新项目并从其他版本的 Sitecore 复制 dll 时,会出现此类问题。

例如,您启动了一个新的 Sitecore 项目 8.1,并在 Inetpub 中安装了一个干净的 8.1 版本。但是在项目的源代码中,您有来自旧版本 sitecore(例如 Sitecore 8.0)的 dll。

您何时进行新构建时将旧 dll 复制到 inetpub,但配置文件来自 Sitecore 8.1。并且这种方式是 dll-s 和配置文件之间的不匹配。

【讨论】:

  • 是的,我已将 Sitecore 版本从 8.0 升级到 8.1。您对如何检查有什么建议,究竟哪些 dll 可能是错误的?
  • 下载一个干净的 8.1 安装并将 sitecore 二进制文件从 bin 文件夹复制到您的项目,这将是我的方法。
  • Sitecore.ListManagement.ContentSearch.dll 检查此文件的版本 Sitecore.ListManagement.ContentSearch.dll
  • 它是 1.1.0.5289。我在 Sitecore 8.1 的清晰版本上找到了相同版本的这个 dll
  • 可能在这个文件中使用了其他 dll。从干净的 Sitecore 8.1 复制所有 dll
猜你喜欢
  • 2023-03-08
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2013-10-22
  • 1970-01-01
  • 1970-01-01
  • 2020-09-26
  • 2020-12-22
相关资源
最近更新 更多