Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Did you ever find a solution to this issue? I have run into this same problem and have spent days trying to fix it, I got to the same place you did.
Hi Daniel
The correct documentation for your commerce version to follow is https://docs.developers.optimizely.com/customized-commerce/v1.3.0-service-api-developer-guide/docs/install-and-configure-version-5.
Which project did you install the Service Api? Is your project using Membership or AspNetIdentity? Make sure to use the correct config setting.
Hi!
We are trying out Service API on our Epi Commerce version 12.12. We follow the guide here: https://world.episerver.com/documentation/developer-guides/Episerver-Service-API/installation-and-configuration/. When browsing the site we get the following un-explanatory error:
2021-03-05 14:32:44.445 [(null)] [1] ERROR EPiServer.Framework.Initialization.InitializationEngine.InitializeModules(:0): Initialize action failed for 'Initialize on class EPiServer.ServiceApi.IntegrationInitialization, EPiServer.ServiceApi, Version=5.3.1.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7'
System.NullReferenceException: Object reference not set to an instance of an object.
at EPiServer.ServiceApi.IntegrationInitialization.<>c.<Initialize>b__2_0(HttpConfiguration config)
at System.Web.Http.GlobalConfiguration.Configure(Action`1 configurationCallback)
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()
System.NullReferenceException: Object reference not set to an instance of an object.
at EPiServer.ServiceApi.IntegrationInitialization.<>c.<Initialize>b__2_0(HttpConfiguration config)
at System.Web.Http.GlobalConfiguration.Configure(Action`1 configurationCallback)
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()
Thankful for any help.