Gravatar for yura.lee@avanade.com

Question by yuralee, Jun 18, 2015 4:15 PM

Could not find configuration node: contentSearch/indexConfigurations/databasePropertyStore error

Hi,

I am currently upgrading to the April 2015 release. I first upgraded the CES and API with no issues. Then, while installing Coveo for Sitecore, I ran into this error:

Server Error in '/' Application.

Could not find configuration node: contentSearch/indexConfigurations/databasePropertyStore 
  Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

  Exception Details: System.InvalidOperationException: Could not find configuration node: contentSearch/indexConfigurations/databasePropertyStore

Source Error: 
 An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace: 

[InvalidOperationException: Could not find configuration node: contentSearch/indexConfigurations/databasePropertyStore]
   Sitecore.Diagnostics.Assert.IsTrue(Boolean condition, String message) +57
   Sitecore.Configuration.Factory.GetConfigNode(String xpath, Boolean assert) +296
   Sitecore.Configuration.Factory.CreateObject(String configPath, String[] parameters, Boolean assert) +275
   Sitecore.Configuration.Factory.CreateFromReference(XmlNode configNode, String[] parameters, Boolean assert) +194
   Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +118
   Sitecore.Configuration.Factory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert) +117
   Sitecore.Configuration.Factory.GetConstructorParameters(XmlNode configNode, String[] parameters, Boolean assert) +206
   Sitecore.Configuration.Factory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert) +106
   Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +141
   Sitecore.Configuration.Factory.CreateObject(XmlNode configNode) +208
   Coveo.SearchProvider.IndexLoader.LoadIndexesFromXmlNodes(XmlNodeList p_IndexNodes, Boolean p_LoadCoveoIndexes) +215
   Coveo.SearchProvider.IndexLoader.LoadCoveoIndexes() +63
   Coveo.SearchProvider.Configuration.CoveoSearchConfiguration.AddIndex(ISearchIndex p_Index) +224

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0
   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +76
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +211
   System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +35
   Sitecore.Configuration.Factory.AssignProperties(Object obj, Object[] properties) +832
   Sitecore.Configuration.Factory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper) +759
   Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +296
   Sitecore.Configuration.Factory.CreateObject(String configPath, String[] parameters, Boolean assert) +666
   Sitecore.ContentSearch.ContentSearchManager.get_SearchConfiguration() +261
   Sitecore.ContentSearch.Maintenance.EventHub.OnResumeIndexing(Object sender) +140
   Sitecore.Events.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) +397
   Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) +455
   Sitecore.Shell.Applications.Install.Dialogs.InstallPackage.InstallPackageForm.GotoLastPage(Result result, String shortDescription, String fullDescription) +415
   Sitecore.Shell.Applications.Install.Dialogs.InstallPackage.InstallPackageForm.OnInstallerFailed(Message message) +159

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0
   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +76
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +211
   System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +35
   Sitecore.Web.UI.Sheer.BaseForm.HandleMessage(Message message) +612
   Sitecore.Shell.Framework.Commands.MessageCommand.Execute(CommandContext context) +153
   Sitecore.Jobs.AsyncUI.SendMessageMessage.Execute() +202
   Sitecore.Jobs.AsyncUI.JobMonitor.HandleMessage(Message message) +378
   Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control control) +79
   Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control control) +171
   Sitecore.Shell.Framework.Commands.MessageCommand.Execute(CommandContext context) +181
   Sitecore.Web.UI.Sheer.ClientPage.OnPreRender(EventArgs e) +547
   System.Web.UI.Control.PreRenderRecursiveInternal() +113
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4297

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34248  
2 Replies
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Jun 18, 2015 4:37 PM

If the previous version of Coveo for Sitecore you had was a few months old, it would be a good idea to disable your Coveo config files by adding the ".disabled" suffix to them and re-enable your Lucene config files if you previously disabled them before attempting the upgrade. After the upgrade, compare your disabled Coveo config files with the new ".example" files and merge them together to have final working configuration files.

Also check to be sure to install the right version of the April 2015 package. There's a different version of the package for Sitecore 7.0, 7.1, 7.2, 7.5 and 8.0.

Gravatar for yura.lee@avanade.com

Comment by yuralee, Jun 18, 2015 4:57 PM

I disabled all the Coveo config files. All the Lucene files are enabled. Looks like I'm still getting the error message. We're using Sitecore 7.5 and the April 2015 package is Coveo for Sitecore 75 3.0 (1000).

Any suggestions?

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Jun 18, 2015 5:04 PM

This node seems to be located in the Sitecore.ContentSearch.DefaultConfigurations.config file. Is this file enabled in your instance?

Gravatar for yura.lee@avanade.com

Comment by yuralee, Jun 19, 2015 10:19 AM

I don't think that file is even in my instance, which is weird because I never touched it. What can we do to get that back?

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Jun 19, 2015 10:21 AM

Install another fresh instance of the same version (on another machine) and copy the file back.

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Jun 19, 2015 1:12 PM

I converted your answer to a new question because it is not the same error nor the same server.

Gravatar for dsoriano@littelfuse.com

Answer by Dean, Oct 13, 2015 12:45 AM

This might help someone - I ran into this issue while setting up the Brightcove indexing for Coveo. The error is quite easy to disregard but it does make sense when you think about it, it just could not find the node where you're pointing your "ref" to.

What I did was to examine the Coveo.SearchProvider.config and checekd how the nodes are laid out.

For the propertyStore element, the ref has to be in this format:

<propertyStore desc="propertyStore" ref="*contentSearch/configuration/indexes/index/propertyStore*" param1="$(id)" />

Follow the steps in this link to ensure that you're Brightcove or any other search config follows the format specified.

Then try re-indexing.

Ask a question