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

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

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

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

原始程式錯誤:


行 984:            dr = Common.GetProductCategoryDataRow((int)categoryBean.ParentCategoryNo);
行 985:
行 986:            PagePath.AppendNode(
行 987:                dr["ProductCategoryName"] + "",
行 988:                "/Page/Product/ProductList.aspx?ProductCategoryNo=" + categoryBean.ParentCategoryNo

原始程式檔: d:\ezb2b\harbinger.com.tw 至鴻科技\httpdocs\Page\Product\ProductDetail.aspx.cs    行: 986

堆疊追蹤:


[NullReferenceException: 並未將物件參考設定為物件的執行個體。]
   ProductDetail.BindSearchData() in d:\ezb2b\harbinger.com.tw 至鴻科技\httpdocs\Page\Product\ProductDetail.aspx.cs:986
   ProductDetail.PreparePageData() in d:\ezb2b\harbinger.com.tw 至鴻科技\httpdocs\Page\Product\ProductDetail.aspx.cs:3451
   ProductDetail.ProcessPageData(PageData& pageData) in d:\ezb2b\harbinger.com.tw 至鴻科技\httpdocs\Page\Product\ProductDetail.aspx.cs:2925
   ProductDetail.Page_Load(Object sender, EventArgs e) in d:\ezb2b\harbinger.com.tw 至鴻科技\httpdocs\Page\Product\ProductDetail.aspx.cs:38
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


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