I have a CMS environment cms.<domain>
and a CD environment www.<domain>
All works fine when not logged into Sitecore, however when I am logged in to Sitecore on the CMS environment, then try load a page on the CD environment, it crashes with the following:
6688 10:55:22 ERROR Application error. Exception: System.Web.HttpException Message: The file '/sitecore/shell/client/Sitecore/ExperienceEditor/PageEditbar/LoadingIndicator.ascx' does not exist. Source: System.Web at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at Sitecore.ExperienceEditor.Utils.WebUtility.RenderLoadingIndicator(HtmlTextWriter output) at Sitecore.ExperienceEditor.Speak.Ribbon.PageExtender.RibbonWebControl.DoRender(HtmlTextWriter output) at Sitecore.Web.UI.WebControl.RenderAsText() at Sitecore.Mvc.ExperienceEditor.Pipelines.RenderPageExtenders.SpeakRibbon.RenderPageEditorSpeakExtender.Render(TextWriter writer) at Sitecore.Mvc.ExperienceEditor.Pipelines.RenderPageExtenders.RenderPageExtendersProcessor.Process(RenderPageExtendersArgs args) at (Object , Object[] ) at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args) at Sitecore.Mvc.ExperienceEditor.PageExtenderResponseFilter.GetExtendersHtml() at Sitecore.Mvc.ExperienceEditor.PageExtenderResponseFilter.get_ExtendersHtml() at Sitecore.Mvc.ExperienceEditor.Pipelines.Request.RequestEnd.AddPageExtenders.Process(RequestEndArgs args) at (Object , Object[] ) at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args) at Sitecore.Mvc.Routing.RouteHttpHandler.EndProcessRequest(IAsyncResult result) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
6688 10:56:23 INFO Cache created: 'IsUserInRoleCache' (max size: unrestricted) 6688 10:56:23 INFO Trying to load XML configuration /App_Config/Security/GlobalRoles.config 6688 10:56:24 INFO AUDIT (sitecore\Anonymous): Logout 6688 10:56:24 WARN Protected page accessed with no current user 6688 10:56:24 INFO AUDIT (sitecore\Anonymous): Logout 6688 10:56:24 WARN Protected page accessed with no current user 6688 10:56:24 ERROR Application error. Exception: System.Web.HttpException Message: Cannot redirect after HTTP headers have been sent. Source: System.Web at System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent) at Sitecore.Shell.Web.ShellPage.IsLoggedIn(Boolean returnAfterLogin) at Sitecore.ExperienceEditor.Speak.Ribbon.PageExtender.RibbonWebControl.DoRender(HtmlTextWriter output) at Sitecore.Web.UI.WebControl.RenderAsText() at Sitecore.Mvc.ExperienceEditor.Pipelines.RenderPageExtenders.SpeakRibbon.RenderPageEditorSpeakExtender.Render(TextWriter writer) at Sitecore.Mvc.ExperienceEditor.Pipelines.RenderPageExtenders.RenderPageExtendersProcessor.Process(RenderPageExtendersArgs args) at (Object , Object[] ) at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args) at Sitecore.Mvc.ExperienceEditor.PageExtenderResponseFilter.GetExtendersHtml() at Sitecore.Mvc.ExperienceEditor.PageExtenderResponseFilter.get_ExtendersHtml() at Sitecore.Mvc.ExperienceEditor.Pipelines.Request.RequestEnd.AddPageExtenders.Process(RequestEndArgs args) at (Object , Object[] ) at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args) at Sitecore.Mvc.Routing.RouteHttpHandler.EndProcessRequest(IAsyncResult result) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
7520 10:56:24 WARN Request is redirected to document not found page. Requested url: /sitecore/login?returnUrl=%2F, User: sitecore\Anonymous, Website: login
I assume, this is because, on the CD environment, I have removed the Experience Editor files as per the Sitecore config CD recommendations. Is there any config setting, I am missing for it to not try and load the Experience Editor on the CD environment?
The domain on httpCookies
and authentication/forms
are the same value on both CM and CD.
Sitecore 8.2.1
httpCookies
and/orauthentication/forms
in web.config? Is it the same value on both CM and CD?