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

索引超出範圍。必須為非負數且小於集合的大小。
參數名稱: index

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

例外狀況詳細資訊: System.ArgumentOutOfRangeException: 索引超出範圍。必須為非負數且小於集合的大小。
參數名稱: index

原始程式錯誤:

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

堆疊追蹤:


[ArgumentOutOfRangeException: 索引超出範圍。必須為非負數且小於集合的大小。
參數名稱: index]
   System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) +72
   WebSite.RWD.ContentList.loadAnnouncement() in G:\TFS\英文網站新版\英文網站\WebSite\RWD\ContentList.aspx.cs:79
   WebSite.RWD.ContentList.Page_Load(Object sender, EventArgs e) in G:\TFS\英文網站新版\英文網站\WebSite\RWD\ContentList.aspx.cs:63
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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