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

无法使用前导 .. 在顶级目录上退出。

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

异常详细信息: System.Web.HttpException: 无法使用前导 .. 在顶级目录上退出。

源错误:

执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:


[HttpException (0x80004005): 无法使用前导 .. 在顶级目录上退出。]
   System.Web.Util.UrlPath.ReduceVirtualPath(String path) +9758379
   System.Web.Util.UrlPath.Reduce(String path) +52
   System.Web.Util.UrlPath.Combine(String appPath, String basepath, String relative) +218
   System.Web.VirtualPath.Combine(VirtualPath relativePath) +160
   System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping) +87
   System.Web.HttpServerUtility.MapPath(String path) +104
   ASP.global_asax.Session_Start(Object sender, EventArgs e) +560
   System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e) +9745451
   System.Web.SessionState.SessionStateModule.CompleteAcquireState() +155
   System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +1095
   System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +285
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.34280