Upgrading from 7.1 to 7.5 issue. Asseblies not loaded.

Vote:
 

Hi,

 

I have a very irritating issue, which I cannot seem to resolve.

I have added the proper .dlls as references and they are located in bin-folder, but they still cannot be loaded correctly.

 

[FileLoadException: Could not load file or assembly 'EPiServer.Find.Cms' or one of its dependencies. Strong name signature could not be verified.  The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)]

[FileLoadException: Could not load file or assembly 'EPiServer.Find.Cms, Version=7.5.446.1, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' or one of its dependencies. Strong name signature could not be verified.  The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)]
   System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
   System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +210
   System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) +242
   System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +17
   System.Reflection.Assembly.Load(String assemblyString) +35
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +122

[ConfigurationErrorsException: Could not load file or assembly 'EPiServer.Find.Cms, Version=7.5.446.1, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' or one of its dependencies. Strong name signature could not be verified.  The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)]
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +12478112
   System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +499
   System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +388
   System.Web.Compilation.BuildManager.<GetAssembliesForAppLevel>b__a(AssemblyInfo ai) +36
   System.Linq.<SelectManyIterator>d__14`2.MoveNext() +267
   System.Linq.<UnionIterator>d__88`1.MoveNext() +472
   System.Linq.<DistinctIterator>d__81`1.MoveNext() +472
   System.Web.UI.Util.GetTypeFromAssemblies(IEnumerable assemblies, String typeName, Boolean ignoreCase) +440
   System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +595
   System.Web.Profile.ProfileBase.AddProfilePropertySettingsForCompilation(ProfilePropertySettingsCollection propertyCollection, Hashtable ht, String groupName) +525
   System.Web.Profile.ProfileBase.GetPropertiesForCompilation() +423
   System.Web.Compilation.ProfileBuildProvider.get_HasCompilableProfile() +74
   System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +519
   System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +175
   System.Web.Compilation.BuildManager.CompileCodeDirectories() +498
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +641


Have anyone else been through this?

Br,
Henric
#81166
Feb 11, 2014 10:05
Vote:
 

Did you add dll via nuget feed? Can you verify that dll has "8fe83dea738b45b7" as public key token? What about other Find assemblies? The same key?

#81229
Feb 12, 2014 9:47
Vote:
 

This seems to be a bit strange. Do you get this error after installing with the Nuget package or how did you do the install?

#81231
Feb 12, 2014 9:53
Vote:
 

This was the result after updating according to http://tedgustaf.com/blog/2013/12/how-to-upgrade-to-episerver-75/, after getting all nuget packages. Did rollback and retried several times now without result (making sure web.config was up to date).

 

/ Henric

#81244
Feb 12, 2014 13:47
* 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.