Grading! An item with the same key has already been added

Topics: Developer Forum, Project Management Forum, User Forum
Aug 30, 2010 at 12:04 PM

Hi have anyone encountered this problem? Need Help on how to figures this one out. It happens when we enter Grading.aspx for a specific assigmentId.

 

System.ArgumentException: An item with the same key has already been added.

at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)

at System.Collections.Generic.Dictionary'2.Insert(TKey key, TValue value, Boolean add)

at System.Collections.Generic.Dictionary'2.Add(TKey key, TValue value)

at System.CollectionsObjectModel.KeyedCollection'2.AddKey(TKey key, TItem item)

at System.CollectionsObjectModel.KeyedCollection'2.InsertItem(int32 index, TItem item)

at System.CollectionsObjectModel.Collection'1.Add(T item)

at Microsoft.SharePointLearningKit.SlkStore.EndGetAssignmentProperties(IEnumerator'1,resultEnumerator,AssignmentItemIdentifier assignmentId, SlkRole, Boolean basicOnly)

at Microsoft.SharePointLearningKit.SlkStore.GetGradingProperties(AssignmentItemIdentifier assignmentId, AssignmentProperties& basicAssignmentProperties)

at Microsoft.SharePointLearningKit.ApplicationPages.Grading.LoadGradingList()

at Microsoft.SharePointLearningKit.ApplicationPages.Grading.OnPreRender(EventArgs e)