-
Most Common Issues
- Inactivity Timeout During Rebuild
- Coveo Sort Components Are Stacked in an MVC Search Page
- Security Provider Error Something Went Wrong on the Server
- Problem Accessing the Coveo Admin Service
- Problem Loading the Ninject Assembly
- Empty Strings are not Allowed Exception Occurring When Specifying Creator-Owner Permissions
- Internal Server Error When Querying the REST Service
- Editing the Properties of a Coveo Search MVC Component Freezes the Page Editor in IE11
- Error with ID NO\_DOCUMENT\_INDEXED
- Error or Document Not Found Page After Rebuilding the Indexes
- Problem Registering Search Page Events in Sitecore Analytics Database
- Sitecore Items Do Not Get Automatically Indexed
- Sitecore 8.0 Session is not Initialized Exception
- The Indexing Manager Is Reporting an Error
- Configuration Wizard error - Unable to add the certificate to the Root store. Access is denied.
- Slow Queries in a Coveo-Powered Search Page
- Issue in IE During Admin Service Configuration with the Configuration Wizard
- High Memory Usage While Rebuilding Indexes
- Root Element of a Crawler for a Coveo Index is Invalid
- 404 Errors on Coveo Usage Analytics Search Events
- HTML Version of Indexed Items Are Showing an Error Page
- Coveo-Powered Search Page Fails to Load After Upgrade
- Diagnostic Page Error - Invalid cast from System.String to Coveo.Framework.Configuration.SecurityConfiguration
- Including a Search Box with OmniboxResultList Results in Cannot read property addEventListener of null Error
- Timeout While Expanding Sitecore Security Provider
- NullReferenceException on Tracking.Current When Executing a Request for a Quick View
- Coveo for Sitecore Security Cache Refresh Issues
- How to Modify the Coveo for Sitecore Security Provider Refreshing Parameters
- 403 Forbidden Error When Calling YourSitecoreSite/coveo/rest
- Getting log4net Errors When Attempting to Browse Sitecore Pages
- The Sitecore Security Provider ABC has encountered a fatal exception class CSP FatalException Unable to connect to Sitecore
- No User has been Provided for the Search Request
- Opening Sitecore Indexing Manager Returns a 405 (Method Not Allowed) Error
- Secured Admin Service - Could Not Establish Trust Relationship for the SSL/TLS Secure Channel with Authority Localhost
- Hive Components - Inserting an Example Search Page Results in No Renderings
Root Element of a Crawler for a Coveo Index is Invalid
Symptoms
-
Coveo for Sitecore (September 2016)
When looking at the Coveo Diagnostic Page, you see the following error:
The root element of one or more crawlers for a Coveo index is invalid.
-
When rebuilding, you get this message:
Job has finished unexpectedly: Index_update_IndexName=<NAME_OF_INDEX> See the log file for more details
-
When indexing or publishing, you see this error in your logs:
Exception: System.InvalidOperationException Message: [Index=SpecificCoveoIndex, Crawler=SitecoreItemCrawler, Database=TheDatabase] Root item couldn't be found: <TheRootItem>. Source: Sitecore.ContentSearch at Sitecore.ContentSearch.SitecoreItemCrawler.get_RootItem() at Sitecore.ContentSearch.SitecoreItemCrawler.GetIndexableRoot() at Sitecore.ContentSearch.HierarchicalDataCrawler`1.RebuildFromRoot(IProviderUpdateContext context, IndexingOptions indexingOptions, CancellationToken cancellationToken) at Sitecore.ContentSearch.Crawler`1.RebuildFromRoot(IProviderUpdateContext context, IndexingOptions indexingOptions) at Coveo.SearchProvider.ProviderIndex.<>c__DisplayClass40.<Rebuild>b__3f(IProviderCrawler crawler) at Coveo.SearchProvider.ProviderIndexBase.PerformRebuild(IProviderUpdateContext p_Context, Action`1 p_CrawlerAction)
Cause
This issue occurs if an item used as a root for a Coveo crawler was deleted or doesn’t exist.
Resolution
To know exactly which root of which crawler is invalid, check the message in your logs.
Coveo for Sitecore (September 2016)
You can now more simply go to the Diagnostic page and click Show details on the Coveo Index Crawler component (see screenshot of the first symptom).
For each crawler in error, there are three options:
-
Put the item used as the crawler root back into your solution.
-
Change the crawler root via the
Website\App_config\Include\Coveo\Coveo.SearchProvider.Custom.config
file. For more information on how to change a crawler root, see Changing the Crawling Root of an Index.Be careful when choosing a new crawling root, as you don’t want to index undesired items.
-
Remove the crawler completely if it’s not useful for you. In this case, the best way to do it would be to add
patch:delete
on the crawler you want to remove in theWebsite\App_config\Include\Coveo\Coveo.SearchProvider.Custom.config
file.Add the following line at node
contentSearch/configuration/indexes/index id="<SPECIFIC_COVEO_INDEX>"/locations/crawler name="<INVALID_CRAWLER_NAME>"
:<patch:delete />