Dieses Blog durchsuchen

Dienstag, 15. April 2014

Sitecore 7: Could not find configuration node: contentSearch/indexUpdateStrategies/onPublishEndAsync

Server Error in '/' Application.

Could not find configuration node: contentSearch/indexUpdateStrategies/onPublishEndAsync

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/indexUpdateStrategies/onPublishEndAsync

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/indexUpdateStrategies/onPublishEndAsync]
   Sitecore.Diagnostics.Assert.IsTrue(Boolean condition, String message) +57


Solution:


Comment in inside the file: Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config
this peace:
OLD
 <!--
        <onPublishEndAsync type="Sitecore.ContentSearch.Maintenance.Strategies.OnPublishEndAsynchronousStrategy, Sitecore.ContentSearch">
          <param desc="database">web</param>
          <CheckForThreshold>true</CheckForThreshold>
        </onPublishEndAsync>
            -->

NEW:

 
        <onPublishEndAsync type="Sitecore.ContentSearch.Maintenance.Strategies.OnPublishEndAsynchronousStrategy, Sitecore.ContentSearch">
          <param desc="database">web</param>
          <CheckForThreshold>true</CheckForThreshold>
        </onPublishEndAsync>