Anyone have any idea why we might be getting the following exceptions on Sitecore startup? Using 7.5 Update-2 with the April Coveo for Sitecore release. Thanks in advance!
6040 15:24:03 INFO Finding and loading global Unity type registrations 6040 15:24:03 WARN Could not fully inspect assembly Coveo.Framework, Version=220.127.116.11, Culture=neutral, PublicKeyToken=null for type loaders. Some types could not be loaded. Exception: System.Reflection.ReflectionTypeLoadException Message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. Source: mscorlib at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) at System.Reflection.RuntimeModule.GetTypes() at System.Reflection.Assembly.GetTypes() at ActiveCommerce.IoC.RegistrationFinder.SafeGetTypes(Assembly assembly) 6040 15:24:03 WARN Loader Exception Exception: System.TypeLoadException Message: Method 'FormatValueForIndexStorage' in type 'Coveo.Framework.Conversion.CoveoIndexFieldStorageValueFormatter' from assembly 'Coveo.Framework, Version=18.104.22.168, Culture=neutral, PublicKeyToken=null' does not have an implementation. 6040 15:24:03 WARN Loader Exception Exception: System.TypeLoadException Message: Method 'AddTypeMatch' in type 'Coveo.Framework.Fields.CoveoFieldMap' from assembly 'Coveo.Framework, Version=22.214.171.124, Culture=neutral, PublicKeyToken=null' does not have an implementation.
These warning messages seems to come from the Active Commerce module as we can see in the stack trace:
Coveo.Framework assembly contains the base implementation of the
CoveoFieldMap classes for Sitecore 7.0 and 7.1. The Sitecore 7.2, 7.5 and 8.0 implementations of those classes can be found in the
Coveo.SearchProvider assembly. The Coveo configuration files references the correct assembly for those classes.
These warning messages shouldn't prevent Coveo nor Active Commerce to work as expected. Does the errors prevent either of the product to work in your environment? If not, I think you can safely ignore those warnings. Contact Active Commerce if you want them to improve their "Finding and loading global Unity type registrations" module to avoid logging warnings like this.
I think you installed the wrong version of the April 2015 Coveo for Sitecore package on your Sitecore 7.5 instance. You may have installed the package for Sitecore 7.0, 7.1, 7.2 or 8.0 instead of the one for Sitecore 7.5.
The correct package name is
Coveo for Sitecore 75 3.0 (1000).zip and can be found here: https://developers.coveo.com/display/SC201504/Installing+Coveo+for+Sitecore+on+a+Single+Host
I just encountered something similar and found that I had missed an entry in my IOC registry (Castle Windsor). Despite the error message it was entirely unrelated to Coveo.