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

Strange exception on IContentCacheVersion

Vote:
 

Hi!

From one deploy to another I get this exception on startup, I cannot figure out what has happend?
I added a new scheduled job, that is the only update of the code.

Initialize action failed for Initialize on class EPiServer.Initialization.Internal.EnsureRemoteVersionKeyInitialization, EPiServer, Version=11.20.11.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7
   at EPiServer.Framework.Initialization.InitializationEngine.InitializeModules()
   at EPiServer.Framework.Initialization.InitializationEngine.ExecuteTransition(Boolean continueTransitions)
   at EPiServer.Framework.Initialization.InitializationModule.EngineExecute(HostType hostType, Action`1 engineAction)
   at EPiServer.Framework.Initialization.InitializationModule.FrameworkInitialization(HostType hostType)
   at EPiServer.Global..ctor()
   at ASP.global_asax..ctor()

Activation error occurred while trying to get instance of type IContentCacheVersion, key ""
   at EPiServer.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key)
   at EPiServer.ServiceLocation.ServiceLocatorImplBase.GetInstance[TService]()
   at EPiServer.Initialization.Internal.EnsureRemoteVersionKeyInitialization.Initialize(InitializationEngine context)
   at EPiServer.Framework.Initialization.Internal.ModuleNode.Execute(Action a, String key)
   at EPiServer.Framework.Initialization.Internal.ModuleNode.Initialize(InitializationEngine context)
   at EPiServer.Framework.Initialization.InitializationEngine.InitializeModules()

Failure while building 'Lambda: Invoke(value(EPiServer.ServiceLocation.Internal.StructureMapConfiguredType`1+<>c__DisplayClass11_0`1[EPiServer.Core.IContentCacheVersion,EPiServer.Core.IContentCacheVersion]).instanceAccessor, value(EPiServer.ServiceLocation.Internal.StructureMapConfiguredType`1[EPiServer.Core.IContentCacheVersion])._serviceLocator)', check the inner exception for details
1.) Lambda: Invoke(value(EPiServer.ServiceLocation.Internal.StructureMapConfiguredType`1+<>c__DisplayClass11_0`1[EPiServer.Core.IContentCacheVersion,EPiServer.Core.IContentCacheVersion]).instanceAccessor, value(EPiServer.ServiceLocation.Internal.StructureMapConfiguredType`1[EPiServer.Core.IContentCacheVersion])._serviceLocator)
2.) Instance of EPiServer.Core.IContentCacheVersion
3.) Container.GetInstance(EPiServer.Core.IContentCacheVersion)

Any ideas? I works on my local machine.

Thanks!


/Kristoffer

#319542
Edited, Mar 26, 2024 13:20
Vote:
 

Mystery solved, turns out it was a invalid character in one of the lanugage files.

/Kristoffer

#319544
Mar 26, 2024 14:49
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.