iis发布公司网站,在外网可以正常运行。在局域网内运行怎么会出现路径错误?

发布时间:2024-05-23 20:18 发布:上海旅游网

问题描述:

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

文件“/bbs/template/default/MasterPage.ascx”不存在。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Web.HttpException: 文件“/bbs/template/default/MasterPage.ascx”不存在。

源错误:

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

堆栈跟踪:

[HttpException (0x80004005): 文件“/bbs/template/default/MasterPage.ascx”不存在。]
System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) +1945171
System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +111
System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +93
System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) +76
System.Web.UI.TemplateControl.LoadControl(String virtualPath) +23
DXBBS.Controls.ContentContainer.b() +129
DXBBS.Controls.ContentContainer.OnInit(EventArgs e) +13
System.Web.UI.Control.InitRecursive(Control namingContainer) +321
System.Web.UI.Control.InitRecursive(Control namingContainer) +198
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includ

问题解答:

iis发布公司网站,在外网可以正常运行。在局域网内运行怎么会出现路径错误?这个旅游问答期待您的解答,请登录账号或关注微信公众号回答这个问题。

热点新闻