'ddlFamilies' has a SelectedValue which is invalid because it does not exist in the list of items.<br>Parameter name: value

Server Error in '/' Application.

'ddlFamilies' has a SelectedValue which is invalid because it does not exist in the list of items.
Parameter name: value

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: 'ddlFamilies' has a SelectedValue which is invalid because it does not exist in the list of items.
Parameter name: value

Source Error:


Line 46: 				}
Line 47: 			}
Line 48: 			ddlFamilies.DataBind();
Line 49: 		}
Line 50: 		List<DataRow> productModels = Helper.GetDocuments(

Source File: c:\inetpub\wwwroot\Anthro-live\CMSWebParts\AnthroCorp\AccessoryList.ascx.cs    Line: 48

Stack Trace:


[ArgumentOutOfRangeException: 'ddlFamilies' has a SelectedValue which is invalid because it does not exist in the list of items.
Parameter name: value]
   System.Web.UI.WebControls.ListControl.PerformDataBinding(IEnumerable dataSource) +3206123
   System.Web.UI.WebControls.ListControl.PerformSelect() +51
   CMSWebParts_AnthroCorp_AccessoryList.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\Anthro-live\CMSWebParts\AnthroCorp\AccessoryList.ascx.cs:48
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   CMS.ExtendedControls.AbstractUserControl.OnLoad(EventArgs e) +136
   CMS.PortalControls.CMSAbstractWebPart.OnLoad(EventArgs e) +221
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3064


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