I upgraded a site to EPi 11, and now the Addon store doesn't work. I get the following error:
[NullReferenceException: Objektreferanse er ikke satt til en objektforekomst.]
StructureMap.Policies.Apply(Type pluginType, Instance instance) +356
StructureMap.Pipeline.Instance.ApplyAllPolicies(Type pluginType, Policies policies) +84
StructureMap.PipelineGraph.DetermineLifecycle(Type pluginType, Instance instance) +48
StructureMap.SessionCache.GetDefault(Type pluginType, IPipelineGraph pipelineGraph) +154
StructureMap.Container.GetInstance(Type pluginType) +277
EPiServer.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key) +53
[ActivationException: Activation error occurred while trying to get instance of type EPiAddOnsController, key ""]
Hi can you check of you have http://nuget.episerver.com/package-details/?packageId=EPiServer.Packaging installed?
Yes, the latest version of it is installed.
But - you pinpointed me in the correct direction! I reinstalled EPiServer.Packaging.UI, and now it works. Thanks!
I encountered the same issue on Epi version 11.7.1 and turned out I was using different versions for EPiServer.Packaging and EPiServer.Packaging.UI packages
After I performed the package update for EPiServer.Packaging.UI to the latest version of 3.4.0 which is same as EPiServer.Packaging, the Add-ons store is functioning well now