When viewing a newly published (local or in Azure) you may run into the following errors
EPiServer.Framework.Initialization.InitializationEngine : Initialize action failed for 'Initialize on class EPiServer.Events.EventsInitialization, EPiServer.Events, Version=10.10.0.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' EPiServer.ServiceLocation.ActivationException: Activation error occurred while trying to get instance of type EventProviderService, key "" ---> StructureMap.Building.StructureMapBuildException: Failure while building 'Lambda: Invoke(value(EPiServer.ServiceLocation.Internal.StructureMapConfiguredType+<>c__DisplayClass6_0).p, value(EPiServer.ServiceLocation.Internal.StructureMapConfiguredType)._serviceLocator)', check the inner exception for details 1.) Lambda: Invoke(value(EPiServer.ServiceLocation.Internal.StructureMapConfiguredType+<>c__DisplayClass6_0).p, value(EPiServer.ServiceLocation.Internal.StructureMapConfiguredType)._serviceLocator) 2.) Instance of EPiServer.Events.Providers.Internal.EventProviderService (System.Object) 3.) Container.GetInstance(EPiServer.Events.Providers.Internal.EventProviderService) ---> System.ArgumentException: No type is specified for provider named 'azureevents' at EPiServer.Configuration.Internal.DefaultProviderFactory.InstantiateProvider[T](ProviderSettings providerSettings, Type type) at EPiServer.Events.Providers.Internal.EventProviderServiceFactory.CreateService(EventOptions eventOptions, HostType hostType) 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) at StructureMap.Pipeline.LifecycleObjectCache.Get(Type pluginType, Instance instance, IBuildSession session) at StructureMap.SessionCache.GetObject(Type pluginType, Instance instance, ILifecycle lifecycle) at StructureMap.SessionCache.GetDefault(Type pluginType, IPipelineGraph pipelineGraph) at StructureMap.Container.GetInstance(Type pluginType) at EPiServer.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key) --- End of inner exception stack trace --- at EPiServer.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key) at EPiServer.ServiceLocation.ServiceLocatorImplBase.GetInstance[TService]() at EPiServer.Events.EventsInitialization.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()
OR
Server Error in '/' Application. No type is specified for provider named 'azureevents' 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.ArgumentException: No type is specified for provider named 'azureevents'
This error is due to the Episerver Azure nuget package not being installed. Add this package per the article below and the error should go away.
Please sign in to leave a comment.