Every time I click 'Total Storygames' (regardless of category) it says this-
---
Server Error in '/' Application.
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
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.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Source Error:
Line 187: //Remove the "0" value
Line 188: ddlMinimumRating.Items.RemoveAt(0);
Line 189: ddlMinimumLength.Items.RemoveAt(0);
Line 190: ddlMaximumLength.Items.RemoveAt(0);
Line 191: ddlMinimumDifficulty.Items.RemoveAt(0);
Source File: c:\Websites\ChooseYourStory\ChooseYourStory.com\Stories\Category.aspx Line: 189
Stack Trace:
[ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index]
System.Collections.ArrayList.RemoveAt(Int32 index)
+14636433
System.Web.UI.WebControls.ListItemCollection.RemoveAt(Int32 index) +23
ChooseYourStory.Web.UI.Stories.Category.Page_PreRender(Object sender, EventArgs e) in c:\Websites\ChooseYourStory\ChooseYourStory.com\Stories\Category.aspx:189
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Control.PreRenderRecursiveInternal() +113
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4297
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18446