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

文件“/404.aspx”不存在。

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

异常详细信息: System.Web.HttpException: 文件“/404.aspx”不存在。

源错误:


行 39:         {
行 40:             Trace.Write(err.ToString());
行 41:             Server.Transfer("/404.aspx");
行 42:         }
行 43:     }

源文件: d:\website\qxp\202003\瑞雪环球\EN\news\detail\Default.aspx.cs    行: 41

堆栈跟踪:


[HttpException (0x80004005): 文件“/404.aspx”不存在。]
   System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) +4654394
   System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +519
   System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +142
   System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) +161
   System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) +47
   System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +44
   System.Web.HttpApplication.MapIntegratedHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig, Boolean convertNativeStaticFileModule) +509
   System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm) +589

[HttpException (0x80004005): 为 /404.aspx 执行子请求时出错。]
   System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm) +1295
   System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm) +72
   System.Web.HttpServerUtility.Transfer(String path) +45
   news_detail_Default.Page_Load(Object sender, EventArgs e) in d:\website\qxp\202003\瑞雪环球\EN\news\detail\Default.aspx.cs:41
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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