volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Initialization error

Hi,

After upgrading to EpiSever 10.3.0 I get an initialization error in our test-environment. On my developer-machine the site works fine. It looks like it has to do with System.Threading.Tasks.Dataflow.dll missing. Does anyone have a clue how to solve this? 

EPiServer.Framework.Initialization.InitializationEngine: Initialize action failed for 'Initialize on class EPiServer.Shell.UI.InitializationModule, EPiServer.Shell.UI, Version=10.3.1.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7'
StructureMap.Building.StructureMapBuildException: Error while building type EPiServer.Notification.Internal.DefaultNotifier. See the inner exception for details
1.) new DefaultNotifier(*Default of INotificationUserRepository*, *Default of INotificationRepository*, Enumerable of EPiServer.Notification.INotificationFormatter with all registered instances, *Default of QueryableNotificationUserService*, *Default of INotificationChannelOptionsRegistry*, *Default of INotificationDispatcher*)
2.) EPiServer.Notification.Internal.DefaultNotifier
3.) Instance of EPiServer.Notification.INotifier (EPiServer.Notification.Internal.DefaultNotifier)
4.) new ProjectMessageNotifier(*Default of INotifier*, *Default of ProjectActivityFeed*, *Default of ActivityCommentRepository*, *Default of IObjectSerializerFactory*, *Default of MentionParser*, *Default of ProjectService*, *Default of ISubscriptionService*)
5.) EPiServer.Cms.Shell.UI.Rest.Projects.Notifications.Internal.ProjectMessageNotifier
6.) Instance of EPiServer.Shell.UI.Internal.IEventListener (EPiServer.Cms.Shell.UI.Rest.Projects.Notifications.Internal.ProjectMessageNotifier)
7.) Container.GetAllInstances(EPiServer.Shell.UI.Internal.IEventListener)
---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Threading.Tasks.Dataflow, Version=4.5.24.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
at EPiServer.Notification.Internal.DefaultNotifier.InitProcessingQueue()
at lambda_method(Closure , IBuildSession , IContext )
--- End of inner exception stack trace ---
at lambda_method(Closure , IBuildSession , IContext )
at StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context) in c:\BuildAgent\work\a395dbde6b793293\src\StructureMap\Building\BuildPlan.cs:line 151
at StructureMap.Pipeline.LifecycleObjectCache.Get(Type pluginType, Instance instance, IBuildSession session) in c:\BuildAgent\work\a395dbde6b793293\src\StructureMap\Pipeline\LifecycleObjectCache.cs:line 71
at StructureMap.SessionCache.GetObject(Type pluginType, Instance instance, ILifecycle lifecycle) in c:\BuildAgent\work\a395dbde6b793293\src\StructureMap\SessionCache.cs:line 93
at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at StructureMap.Container.GetAllInstances(Type pluginType) in c:\BuildAgent\work\a395dbde6b793293\src\StructureMap\Container.cs:line 376
at EPiServer.ServiceLocation.StructureMapServiceLocator.d__4.MoveNext()
at EPiServer.ServiceLocation.ServiceLocatorImplBase.d__10`1.MoveNext()
at EPiServer.Shell.UI.InitializationModule.Initialize(InitializationEngine context)
at EPiServer.Framework.Initialization.Internal.ModuleNode.Execute(Action a, String key)
at EPiServer.Framework.Initialization.InitializationEngine.InitializeModules()
StructureMap.Building.StructureMapBuildException: Error while building type EPiServer.Notification.Internal.DefaultNotifier. See the inner exception for details
1.) new DefaultNotifier(*Default of INotificationUserRepository*, *Default of INotificationRepository*, Enumerable of EPiServer.Notification.INotificationFormatter with all registered instances, *Default of QueryableNotificationUserService*, *Default of INotificationChannelOptionsRegistry*, *Default of INotificationDispatcher*)
2.) EPiServer.Notification.Internal.DefaultNotifier
3.) Instance of EPiServer.Notification.INotifier (EPiServer.Notification.Internal.DefaultNotifier)
4.) new ProjectMessageNotifier(*Default of INotifier*, *Default of ProjectActivityFeed*, *Default of ActivityCommentRepository*, *Default of IObjectSerializerFactory*, *Default of MentionParser*, *Default of ProjectService*, *Default of ISubscriptionService*)
5.) EPiServer.Cms.Shell.UI.Rest.Projects.Notifications.Internal.ProjectMessageNotifier
6.) Instance of EPiServer.Shell.UI.Internal.IEventListener (EPiServer.Cms.Shell.UI.Rest.Projects.Notifications.Internal.ProjectMessageNotifier)
7.) Container.GetAllInstances(EPiServer.Shell.UI.Internal.IEventListener)
---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Threading.Tasks.Dataflow, Version=4.5.24.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
at EPiServer.Notification.Internal.DefaultNotifier.InitProcessingQueue()
at lambda_method(Closure , IBuildSession , IContext )
--- End of inner exception stack trace ---
at lambda_method(Closure , IBuildSession , IContext )
at StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context) in c:\BuildAgent\work\a395dbde6b793293\src\StructureMap\Building\BuildPlan.cs:line 151
at StructureMap.Pipeline.LifecycleObjectCache.Get(Type pluginType, Instance instance, IBuildSession session) in c:\BuildAgent\work\a395dbde6b793293\src\StructureMap\Pipeline\LifecycleObjectCache.cs:line 71
at StructureMap.SessionCache.GetObject(Type pluginType, Instance instance, ILifecycle lifecycle) in c:\BuildAgent\work\a395dbde6b793293\src\StructureMap\SessionCache.cs:line 93
at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at StructureMap.Container.GetAllInstances(Type pluginType) in c:\BuildAgent\work\a395dbde6b793293\src\StructureMap\Container.cs:line 376
at EPiServer.ServiceLocation.StructureMapServiceLocator.d__4.MoveNext()
at EPiServer.ServiceLocation.ServiceLocatorImplBase.d__10`1.MoveNext()
at EPiServer.Shell.UI.InitializationModule.Initialize(InitializationEngine context)
at EPiServer.Framework.Initialization.Internal.ModuleNode.Execute(Action a, String key)
at EPiServer.Framework.Initialization.InitializationEngine.InitializeModules()

#173614
Jan 03, 2017 15:01
Vote:

Think I found the reason/solution. Micorsoft.Tpl.Dataflow package was not installed (dependency of EPiServer.Framework). Something must have failed when I upgraded the Nuget-packages.

#173618
Jan 03, 2017 17:02
error 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.