Sitecore Search Index Root Item is not defined

Exception: System.InvalidOperationException
Message: Root item is not defined
Source: Sitecore.Kernel
at Sitecore.Diagnostics.Assert.IsNotNull(Object value, String message)
at Sitecore.Search.Crawlers.DatabaseCrawler.Initialize(Index index)
at Sitecore.Search.Index.AddCrawler(ICrawler crawler)

This is one of the most common errors we see in the sitecore logs or when we try to login to sitecore desktop.

To resolve it, try the following:
– Go to sitecore/admin/showconfig.aspx
– Find all entries for <index> attributes. Ctrl+F “<index”.
– Ensure all index entries have <root></root> node specified.
– Ensure all <root> node paths are valid and do exists in the sitecore respective databases.

Leave a Reply

Your email address will not be published.