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

可為 Null 的物件必須具有值。

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

例外狀況詳細資訊: System.InvalidOperationException: 可為 Null 的物件必須具有值。

原始程式錯誤:


行 248:        else
行 249:        {
行 250:            contentBean = B2BModel.DataManager.GetGeneralContent((int)pageData.GeneralContentNo, Common.GetCurrentDataLanguage(this));
行 251:
行 252:            if (contentBean == null)

原始程式檔: d:\inetpub\vhost.web\charm3c.com.tw\www\Page\GeneralContent\GeneralContentDetail.aspx.cs    行: 250

堆疊追蹤:


[InvalidOperationException: 可為 Null 的物件必須具有值。]
   System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) +56
   System.Nullable`1.get_Value() +12770166
   GeneralContentDetail.PreparePageData() in d:\inetpub\vhost.web\charm3c.com.tw\www\Page\GeneralContent\GeneralContentDetail.aspx.cs:250
   GeneralContentDetail.ProcessPageData(PageData& pageData) in d:\inetpub\vhost.web\charm3c.com.tw\www\Page\GeneralContent\GeneralContentDetail.aspx.cs:1628
   GeneralContentDetail.Page_Load(Object sender, EventArgs e) in d:\inetpub\vhost.web\charm3c.com.tw\www\Page\GeneralContent\GeneralContentDetail.aspx.cs:38
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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