У меня такая ситуация, что 2 сайта расположены в папках ru и en соответственно.
Если я пытаюсь зайти на localhost/ru/no-such-path, то получаю 404.aspx, расположенный в ru. то же самое с en. Но вот при попытке зайти на localhost/no-such-path получаю:
Я явно что-то не донастроил. Но вот что?
Если я пытаюсь зайти на localhost/ru/no-such-path, то получаю 404.aspx, расположенный в ru. то же самое с en. Но вот при попытке зайти на localhost/no-such-path получаю:
Код |
---|
Server Error in '/' Application. -------------------------------------------------------------------------------- Value cannot be null. Parameter name: path Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentNullException: Value cannot be null. Parameter name: path Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [ArgumentNullException: Value cannot be null. Parameter name: path] Bitrix.IO.BXPath.TrimStart(String path) +220 Bitrix.Services.BXError404Manager.Get404Aspx(HttpContext context) +118 Bitrix.Services.BXError404Manager.Validate404Condition(HttpContext context) +84 Bitrix.Services.IntegratedModeProcessor.HandlePreSendRequestHeaders(Object source, EventArgs e) +129 System.Web.SendResponseExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +240 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171 |
Я явно что-то не донастроил. Но вот что?