Server Error in '/' Application.

Index was outside the bounds of the array.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.

Source Error:


Line 73: 		string[] parts;
Line 74: 		parts = desc2.Split(new string[]{"</strong>"}, StringSplitOptions.None);
Line 75: 		desc2 = parts[1];
Line 76: 		desc2 = desc2.Substring(4);
Line 77: 		

Source File: d:\Inetpub\domainid189058\seasonal.aspx.cs    Line: 75

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   seasonal.displayFragDescription(String desc) in d:\Inetpub\domainid189058\seasonal.aspx.cs:75
   ASP.seasonal_aspx.__DataBind__control3(Object sender, EventArgs e) in d:\Inetpub\domainid189058\seasonal.aspx:229
   System.Web.UI.Control.OnDataBinding(EventArgs e) +100
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +178
   System.Web.UI.Control.DataBindChildren() +248
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +195
   System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +174
   System.Web.UI.WebControls.Repeater.AddDataItemsIntoItemsArray(IEnumerable dataSource, Boolean useDataSource) +291
   System.Web.UI.WebControls.Repeater.PostGetDataAction(IEnumerable dataSource) +109
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +81
   seasonal.Page_Load(Object sender, EventArgs e) in d:\Inetpub\domainid189058\seasonal.aspx.cs:28
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4110.0