A/B Testing Installation

Vote:
 

I've just upgraded to the latest EPiServer CMS version 10.1.0 and thought I'd give the A/B testing package a go, but I can't get it to work. When installed, I get the following error:

The object has not yet been initialized. Ensure that HttpConfiguration.EnsureInitialized() is called in the application's startup code after all other initialization code.

Has anyone else had this error or knows how it can be fixed? I have tried adding the suggested code from the error message into the startup but it doesn't do anything.

I do have another project that is using WebAPI.

Thanks
Tim
#171853
Nov 18, 2016 15:26
Vote:
 

For anyone else facing this issue, I was able to solve it by adding the following appSetting:

<add key="episerver:serviceapi:maphttpattributeroutes" value="false" />

#171955
Nov 22, 2016 13:08
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.