Server Error in '/' Application.

Item has already been added. Key in dictionary: '92568-924-638473340123995726'  Key being added: '92568-924-638473340123995726'

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: Item has already been added. Key in dictionary: '92568-924-638473340123995726'  Key being added: '92568-924-638473340123995726'

Source Error:


Line 208:        //dataListView.DataItemType = "Lambemu.Web.Data.DataRowContent";
Line 209:        dataListView.SortFields = order;
Line 210:        dataListView.Select(query, null, length);
Line 211:
Line 212:        return dataListView;

Source File: d:\inetpub\live\palmia\2021\App_Code\Contents.cs    Line: 210

Stack Trace:


[ArgumentException: Item has already been added. Key in dictionary: '92568-924-638473340123995726'  Key being added: '92568-924-638473340123995726']
   System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) +14583981
   Lambemu.Web.UI.PagedData.Select(String selectCommand, Dictionary`2 parameters, Int32 pageSize) +678
   Contents.GetRelatedRecipes(Int32 length, Int32 CategoryId, Int32 notIn, String order) in d:\inetpub\live\palmia\2021\App_Code\Contents.cs:210
   Themes_Default_Recipe.Page_Load(Object sender, EventArgs e) in d:\inetpub\live\palmia\2021\Themes\Default\Recipe.aspx.cs:53
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   RecipePage.OnLoad(EventArgs e) in d:\inetpub\live\palmia\2021\App_Code\RecipePage.cs:54
   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.4667.0