Sitecore索引错误 - 根项目未定义 [英] Sitecore Index error - Root Item Not defined

查看:174
本文介绍了Sitecore索引错误 - 根项目未定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有关以下问题的任何帮助将受到高度赞赏。我们正在使用针对sitecore CMS的高级数据库抓取工具,该网站使用Lucene.NET。

Any help regarding below issue will be highly appreciated. We are using Advance database crawler for sitecore CMS which interanlly uses Lucene.NET.

当我们尝试登录sitecore的桌面时,我们收到以下错误

We are getting below error when we try to log into the desktop of sitecore

Heartbeat 16:23:24 ERROR Exception in alarm clock event subscriber.
Exception: System.Reflection.TargetInvocationException
Message: Exception has been thrown by the target of an invocation.
Source: mscorlib
   at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   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 Sitecore.Configuration.Factory.AssignProperties(Object obj, Object[] properties)
   at Sitecore.Configuration.Factory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper)
   at Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)
   at Sitecore.Configuration.Factory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert)
   at Sitecore.Configuration.Factory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper)
   at Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)
   at Sitecore.Configuration.Factory.CreateObject(String configPath, String[] parameters, Boolean assert)
   at Sitecore.Search.SearchManager.get_SearchConfiguration()
   at Sitecore.Data.Managers.IndexingManager.UpdateIndexAsync(Database database)
   at Sitecore.Data.Managers.IndexingManager.AlarmClock_Ring(Object sender, EventArgs args)
   at Sitecore.Services.AlarmClock.Heartbeat_Beat(Object sender, EventArgs e)


推荐答案

我见过这个错误的最常见原因碰巧是您已为主数据库和Web数据库配置了索引,但尚未将内容树发布到Web。

The most common reason I've seen this error happen is that you have configured an index for both the master and the web database, but you have not published your content tree to web yet.

排除故障的步骤:
删除索引配置文件。
登录sitecore并确保master中存在根路径。
如果配置文件包含web索引定义,则将根路径(至少)发布到web。
放回索引配置文件。

Steps to troubleshoot: Remove the index config file. Log in to sitecore and make sure the root path exists in master. If the config file contains a 'web' index definition, publish your root path (at least) to 'web'. Put back the index config file.

这篇关于Sitecore索引错误 - 根项目未定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆