Sitecore 7 Troubleshooting: Could not find add method: AddConverter (type: Sitecore.ContentSearch.LuceneProvider.Converters.LuceneIndexFieldStorageValueFormatter)

Problem:

Server Error in '/' Application.

Could not find add method: AddConverter (type: Sitecore.ContentSearch.LuceneProvider.Converters.LuceneIndexFieldStorageValueFormatter)

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: Sitecore.Exceptions.RequiredObjectIsNullException: Could not find add method: AddConverter (type: Sitecore.ContentSearch.LuceneProvider.Converters.LuceneIndexFieldStorageValueFormatter)

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:


[RequiredObjectIsNullException: Could not find add method: AddConverter (type: Sitecore.ContentSearch.LuceneProvider.Converters.LuceneIndexFieldStorageValueFormatter)]
   Sitecore.Configuration.Factory.AssignProperties(Object obj, Object[] properties) +1635
   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.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert) +114
   Sitecore.Configuration.Factory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper) +577
   Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +296
   Sitecore.Configuration.Factory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert) +114
   Sitecore.Configuration.Factory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper) +577
   Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +296
   Sitecore.Configuration.Factory.CreateObject(String configPath, String[] parameters, Boolean assert) +420
   Sitecore.ContentSearch.ContentSearchManager.GetIndex(String name) +62
   ICR.SC.IC.Internet.Website.Logic.Search.ItemSelector.get_Index() +132
   ICR.SC.IC.Internet.Website.Logic.Search.ItemSelector.GetResults(Expression`1 predicate, String sort, Boolean reverse, Int32 start, Int32 count, Boolean neglectPermissions) +6460
   ICR.SC.IC.Internet.Website.Logic.Search.ItemSelector.GetItems(BaseSearchParameter param, String sort, Boolean reverse, Int32 start, Int32 count) +4373
   ICR.SC.IC.Internet.Website.layouts.sublayouts.ic.Portlets.SearchListPortlet.Page_Load(Object sender, EventArgs e) +4671
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178


Solution:

My problem was old DLLs from Sitecore 7.0. Check if you have the all the latest Sitecore.ContentSearch* .dll from Sitecore 7.1. Check if you have post build action. We have something like a sc_customs folder with dll that are copied to bin folder! You need also to update them!


Comments