1

I am currently getting IIS 8 404 error on all controller requests being made when trying to access Experience Optimization tile in sitecore 8 update 5 admin area. The partial path to controller looks something like this http://sitecore/shell/api/ct/TestOutcomes

The interesting points are all the other sitecore admin tiles are working with no problems this includes successful controller calls where required. The website is also operational. I can't see any errors/warnings in the sitecore logs or in the event viewer.

I am trying to get this working so I can do a/b testing on the pages. I know its not much to go on but I am hoping you can point me in the right direction to successfully troubleshoot this.

8
  • The path should have /api/ in it - sitecore/shell/api/ct/TestOutcomes. Can you confirm you have this by using fiddler?
    – Ian Graham
    Jan 20, 2016 at 15:44
  • Maybe another route is set up that conflicts?
    – Ian Graham
    Jan 20, 2016 at 20:08
  • Apologise for the typo. Yes I can confirm it has /api/ in the path
    – Bobby
    Jan 20, 2016 at 23:26
  • Definetly no other routes have been set up that may conflict.
    – Bobby
    Jan 20, 2016 at 23:29
  • Do you have any custom processors in the initialize or HttpRequestBegin pipeline?
    – jammykam
    Jan 21, 2016 at 1:09

1 Answer 1

1

So the problem was via xml transformation I was removing few tags inApp_Config\Include\ContentTesting\Sitecore.ContentTesting.config to make sitecore instance quicker (only in dev).

<initialize>
    <processor type="Sitecore.ContentTesting.Pipelines.Initialize.RegisterContentTestingCommandRoute, Sitecore.ContentTesting" patch:before="processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc']" />
    <processor type="Sitecore.Pipelines.Initialize.PrecompileSpeakViews, Sitecore.Speak.Client" use="ContentTesting">
        <Paths>/sitecore/shell/client/Applications/ContentTesting</Paths>
    </processor>
</initialize> 

What I failed to notice that I should not remove this live as it registers the routes

<processor type="Sitecore.ContentTesting.Pipelines.Initialize.RegisterContentTestingCommandRoute, Sitecore.ContentTesting" patch:before="processor[@type='Sitecore.Mvc.Pipelines.Loader.InitializeRoutes, Sitecore.Mvc']" />

After placing this back in the config everything works.

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.