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

並未將物件參考設定為物件的執行個體。

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

例外狀況詳細資訊: System.NullReferenceException: 並未將物件參考設定為物件的執行個體。

原始程式錯誤:


行 26:         if (this.Page.IsPostBack == true) { return; }
行 27: 
行 28:         this.UpdateTime.Text = _CurrentStationMessageItem.UpdateTime.ToString("yyyy/MM/dd");
行 29: 
行 30:         this.Title1.Text = _CurrentStationMessageItem.Title;

原始程式檔: d:\_Web\pbnb.tw\_Module\StationMessage\F_Detail.aspx.cs    行: 28

堆疊追蹤:


[NullReferenceException: 並未將物件參考設定為物件的執行個體。]
   _Module_StationMessage_F_Detail.Render_NewsItem() in d:\_Web\pbnb.tw\_Module\StationMessage\F_Detail.aspx.cs:28
   _Module_StationMessage_F_Detail.Page_PreRender(Object sender, EventArgs e) in d:\_Web\pbnb.tw\_Module\StationMessage\F_Detail.aspx.cs:21
   System.Web.UI.Control.OnPreRender(EventArgs e) +11905843
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6874


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