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

位置 0 沒有資料列。

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

例外詳細資訊: System.IndexOutOfRangeException: 位置 0 沒有資料列。

原始程式錯誤:


行 558:            Select Case strLayer
行 559:                Case 3
行 560:                    Response.Write("<span class=""Green Green" & _season & """>?桀?雿蔭嚗?/span><a href=""main.aspx"">擐?</a> &#8250; <a href=""" & xTable.Rows(0)("hyperlink1") & "?frontTitleMenuID=" & xTable.Rows(0)("m1MenuID") & "&frontMenuID=" & xTable.Rows(0)("m1MenuID") & """>" & xTable.Rows(0)("m1name") & "</a> &#8250; <a href=""" & xTable.Rows(0)(IIf(Len(xTable.Rows(0)("hyperlink2"))>0,"hyperlink2","hyperlink3")) & "?frontTitleMenuID=" & xTable.Rows(0)("m1MenuID") & "&frontMenuID=" & xTable.Rows(0)("m2MenuID") & """>" & xTable.Rows(0)("m2name") & "</a> &#8250; <span class=""Green Green" & _season & """>" & xTable.Rows(0)("m3name") & "</span>" & vbCrLf)
行 561:                Case 2
行 562:                    'Response.Write("<span class=""Green Green" & _season & """>?桀?雿蔭嚗?/span><a href=""main.aspx"">擐?</a> &#8250; <a href=""" & xTable.Rows(0)("hyperlink1") & "?frontTitleMenuID=" & xTable.Rows(0)("m1MenuID") & "&frontMenuID=" & xTable.Rows(0)("m1MenuID") & """>" & xTable.Rows(0)("m1name") & "</a> &#8250; <span class=""Green Green" & _season & """>" & xTable.Rows(0)("m2name") & "</span>" & vbCrLf)

原始程式檔: D:\Source\WebSite\MasterPage.inc.aspx    行: 560

堆疊追蹤:


[IndexOutOfRangeException: 位置 0 沒有資料列。]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +1559118
   System.Data.RBTree`1.get_Item(Int32 index) +19
   System.Data.DataRowCollection.get_Item(Int32 index) +11
   ASP.prooffoodbrief_aspx.m_Path(Object xMenuID) in D:\Source\WebSite\MasterPage.inc.aspx:560
   ASP.prooffoodbrief_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in D:\Source\WebSite\ProofFoodBrief.aspx:150
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266


版本資訊: Microsoft .NET Framework 版本:2.0.50727.9061; ASP.NET 版本:2.0.50727.9062