This is a multisite project built on SXA.

In the local instance, the pages load fine in both Preview & Experience Editor mode.

In the Site Grouping item for a site, the database is master and the VirtualFolder is cn.
But when I try to browse the live page https://myprojectsc.dev.local/cn, it shows this error:

enter image description here

ERROR Application error. Exception: System.Web.HttpException Message:
Error executing child request for /404. Source: System.Web    at
System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler,
TextWriter writer, Boolean preserveForm, Boolean setPreviousPage,
VirtualPath path, VirtualPath filePath, String physPath, Exception
error, String queryStringOverride)    at
System.Web.HttpServerUtility.Execute(String path, TextWriter writer,
Boolean preserveForm)    at
System.Web.HttpServerUtility.Transfer(String path, Boolean
preserveForm)    at System.Web.HttpServerUtility.Transfer(String path)
args)    at (Object , Object )    at
Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)    at
Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName,
PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)   
at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String
pipelineName, PipelineArgs args, String pipelineDomain)    at
context)    at
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)   
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously)

Could this be due to the value for Virtual Folder field in Site Grouping item? Should I configure them somewhere else?

  • Comments are not for extended discussion; this conversation has been moved to chat.
    – Richard Seal
    Nov 10, 2022 at 14:49


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.