'/' 應用程式中發生伺服器錯誤。

在主版頁面 '/SiteLayout/MasterPageContents.Master' 中找不到 ContentPlaceHolder 'ContentPlaceHolderMasterPage1',請在內容頁面中檢查內容控制項的 ContentPlaceHolderID 屬性。

描述: 在執行目前 Web 要求的過程中發生未處理的例外狀況。請檢閱堆疊追蹤以取得錯誤的詳細資訊,以及在程式碼中產生的位置。

例外狀況詳細資訊: System.Web.HttpException: 在主版頁面 '/SiteLayout/MasterPageContents.Master' 中找不到 ContentPlaceHolder 'ContentPlaceHolderMasterPage1',請在內容頁面中檢查內容控制項的 ContentPlaceHolderID 屬性。

原始程式錯誤:

在執行目前 Web 要求期間,產生未處理的例外狀況。如需有關例外狀況來源與位置的資訊,可以使用下列的例外狀況堆疊追蹤取得。

堆疊追蹤:


[HttpException (0x80004005): 在主版頁面 '/SiteLayout/MasterPageContents.Master' 中找不到 ContentPlaceHolder 'ContentPlaceHolderMasterPage1',請在內容頁面中檢查內容控制項的 ContentPlaceHolderID 屬性。]
   System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +583
   System.Web.UI.Page.get_Master() +55
   System.Web.UI.Page.ApplyMasterPage() +14
   System.Web.UI.Page.PerformPreInit() +51
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +296


版本資訊: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.3535.0