November Happy Hour will be moved to Thursday December 5th.

CMS Integration Error

Vote:
 

Hello,

I'm trying to get find integrated with an EPiServer 7 project and have done the following:

  • Created EPiServer 7 project based on the Alloy tech samples
  • Installed the EPiServer.Find.Cms package using the Package Manager Console in Visual Studio

After creating the site I ran it and tested that it worked, it did. However following the install of the Find package the site will not run and I get the error below. Based on the error I think it's caused due to conflicts with the Find and CMS dll versions, I just haven't been able to figure out what I need to change.

Has anyone else encountered this and know how to resolve?

Thanks in advance,

Mark

ERROR:

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.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. The following information may be a subset of the Type/LoaderException information present - inspect with debugger for complete view.
Check assemblies [EPiServer.Find.Cms, Version=7.0.586.16, Culture=neutral, PublicKeyToken=8fe83dea738b45b7] and/or types [EPiServer.Find.Cms.BaseIndexer,
EPiServer.Find.Cms.CategoryCount,
EPiServer.Find.Cms.ClientExtensions,
EPiServer.Find.Cms.CmsLanguageLoader,
EPiServer.Find.Cms.CmsSiteIdentityLoader,
EPiServer.Find.Cms.Json.FindUrlConverter,
EPiServer.Find.Cms.LanguageStatisticTag,
EPiServer.Find.Cms.CmsUnifiedSearchSetUp,
EPiServer.Find.Cms.Configuration,
EPiServer.Find.Cms.ContentAreaExtensions,
EPiServer.Find.Cms.Conventions.IShouldIndexInContentAreaConvention,
EPiServer.Find.Cms.Conventions.DefaultShouldIndexInContentAreaConvention,
EPiServer.Find.Cms.Conventions.IShouldReindexChildrenOnMoveConvension,
EPiServer.Find.Cms.Conventions.DefaultShouldReindexChildrenOnMoveConvention,
EPiServer.Find.Cms.Conventions.IShouldReindexRelatedContentWhenInContentAreaConvention,
EPiServer.Find.Cms.Conventions.DefaultShouldReindexRelatedContentWhenInContentAreaConvention,
EPiServer.Find.Cms.Conventions.ShouldIndexInContentAreaConvention,
EPiServer.Find.Cms.Conventions.ShouldReindexChildrenOnMoveConvention,
EPiServer.Find.Cms.Conventions.ShouldReindexRelatedContentWhenInContentAreaConvention,
EPiServer.Find.Cms.EventedIndexingSettings]. Information from LoaderExceptions property [Could not load file or assembly 'EPiServer.Shell, Version=7.0.859.16, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040),
Could not load file or assembly 'EPiServer.Shell, Version=7.0.859.16, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040),
Could not load file or assembly 'EPiServer.Shell, Version=7.0.859.16, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040),
Could not load file or assembly 'EPiServer.Shell, Version=7.0.859.16, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040),
Could not load file or assembly 'EPiServer.Shell, Version=7.0.859.16, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040),
Could not load file or assembly 'EPiServer.Shell, Version=7.0.859.16, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040),
Could not load file or assembly 'EPiServer.Data, Version=7.0.859.16, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040),
Could not load file or assembly 'EPiServer.Data, Version=7.0.859.16, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040),
Could not load file or assembly 'EPiServer.Framework, Version=7.0.859.16, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040),
Could not load file or assembly 'EPiServer.Shell, Version=7.0.859.16, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)].

#74634
Sep 03, 2013 11:54
Vote:
 

You have to match Find version with Cms. Check you EPiServer.dll file revision number (number after last period).

If that's other than .16 then either you need to upgrade Cms packages to .16 version or downgrade Find to Cms version.

Downgrade could be done in Package Manager (remove package before this):

Install-Package -Id "EPiServer.Find.Cms" -version 7.0.586.XX

    

#74652
Sep 03, 2013 14:28
Vote:
 

Hi,

 

What you encounter now is something described in here: http://world.episerver.com/Documentation/Items/Installation-Instructions/Installing-EPiServer-Patches/ under modifying the alloy project.

This is because the find nuget install updated cms and fx to the latest patch as well since they are dependencies o find.

 

Hope that gets you on the right path.

#75186
Edited, Sep 19, 2013 14:19
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.