Monday 10 October 2016

Error loading hook: hook type="Sitecore.ContentSearch.Hooks.Initializer - Sitecore 8.1 CD setup

Recently while setting up our cd server we got below error

ERROR Error loading hook: <hook type="Sitecore.ContentSearch.Hooks.Initializer, Sitecore.ContentSearch" patch:source="Sitecore.ContentSearch.config" xmlns:patch="http://www.sitecore.net/xmlconfig/" />
Exception: System.InvalidOperationException
Message: Could not find configuration node: campaignManagementSearch/indexConfigurations/campaignManagementLuceneIndexConfiguration
Source: Sitecore.Kernel

This came because We were disabling Sitecore.Marketing.Lucene.IndexConfiguration.config file as per Sitecore instructions for setting up CD server in this version. But this configuration is being referred in Sitecore.Marketing.Lucene.Index.Web.config file which was still enabled and hence throwing exception. Enable Sitecore.Marketing.Lucene.IndexConfiguration.config file to fix this error

No comments:

Post a Comment