“/”应用程序中的服务器错误。

索引超出了数组界限。

说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.IndexOutOfRangeException: 索引超出了数组界限。

源错误:


行 168:            }
行 169:            string[] PathArr = context.Request.Url.AbsolutePath.Split('/');
行 170:            string Action = PathArr[2].ToLower().SubstringBefore(".");
行 171:            string Lang = PathArr[1];
行 172:            switch (Action)

源文件: d:\Site\FrontBox\tt.tasktoday.com\App_Code\Home.cs    行: 170

堆栈跟踪:


[IndexOutOfRangeException: 索引超出了数组界限。]
   Home.ProcessRequest(HttpContext context) in d:\Site\FrontBox\tt.tasktoday.com\App_Code\Home.cs:170
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


版本信息: Microsoft .NET Framework 版本:2.0.50727.8762; ASP.NET 版本:2.0.50727.8762