Server Error in '/' Application.

This constraint cannot be enabled as not all values have corresponding parent values.

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.ArgumentException: This constraint cannot be enabled as not all values have corresponding parent values.

Source Error:


Line 61:             RadMenu1.DataSource = ds;
Line 62:             RadMenu1.DataMember = "navigation";
Line 63:             RadMenu1.DataBind();
Line 64: 
Line 65:             //Bind ds to Radmenu Burger

Source File: d:\inetpub\wwwroot\FAITHNETWORK_VAULT\LOWCOUNTRY\mainMaster.master.cs    Line: 63

Stack Trace:


[ArgumentException: This constraint cannot be enabled as not all values have corresponding parent values.]
   System.Data.ConstraintCollection.AddForeignKeyConstraint(ForeignKeyConstraint constraint) +2368964
   System.Data.ConstraintCollection.Add(Constraint constraint, Boolean addUniqueWhenAddingForeign) +480
   System.Data.DataSetRelationCollection.AddCore(DataRelation relation) +1134
   System.Data.DataRelationCollection.Add(DataRelation relation) +178
   System.Data.DataRelationCollection.Add(DataColumn parentColumn, DataColumn childColumn) +67
   Telerik.Web.UI.ControlDataBinder.BindToDataTable(DataTable table, String dataFieldID, String dataFieldParentID) +125
   System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +165
   mainMaster.Page_Load(Object sender, EventArgs e) in d:\inetpub\wwwroot\FAITHNETWORK_VAULT\LOWCOUNTRY\mainMaster.master.cs:63
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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