This project has moved. For the latest updates, please go here.

SLK - UNable to submit assignment

Topics: Developer Forum, Project Management Forum, User Forum
Nov 7, 2013 at 10:27 PM

We have a online training application which is using Sharepoint learning kit for playing the videos.
There are few issues faced by users in submitting assignments - It gives an error saying Unable to submit assignment - upon clicking Submit Assignment of the training course.

When checked for the event viewer we have the following error logged:

An error occurred. More information: System.ArgumentException: An item with the same key has already been added.

Could you please help us in understanding this issue. The same course doesnt cause any issue for some of the other users and they are able to submit assignment.

Nov 12, 2013 at 6:23 PM
Any inputs for this kind of issue would be appreciated.
Nov 13, 2013 at 8:53 AM
Is there anymore info in the event log e.g. a stack trace?

SLK Coordinator
Nov 19, 2013 at 1:04 AM
No there is no other information apart from this in the stack trace.
Nov 27, 2013 at 9:14 AM
Can you post the entire stack trace.
Dec 19, 2013 at 9:40 PM
SharePoint Learning Kit Error - 11/5/2013 10 32

An error occurred. More information: System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add)
at System.Collections.Generic.Dictionary
2.Add(TKey key, TValue value)
at Microsoft.LearningComponents.Storage.DatabaseNavigator.ExpandDataModelCache(LearningStoreJob job)
at Microsoft.LearningComponents.Storage.DatabaseNavigator.Save()
at Microsoft.LearningComponents.Storage.StoredLearningSession.CommitChanges()
at Microsoft.LearningComponents.Frameset.HiddenHelper.ProcessPageLoad(PackageStore packageStore, GetSessionTitle getSessionTitle, TryGetViewInfo TryGetViewInfo, TryGetAttemptInfo TryGetAttemptInfo, AppendContentFrameDetails appendContentFrameDetails, RegisterError registerError, GetErrorInfo getErrorInfo, ProcessSessionEnd ProcessSessionEnd, ProcessViewRequest ProcessViewRequest, GetFramesetMsg getFramesetMsg, Boolean isPostBack)
at Microsoft.SharePointLearningKit.Frameset.Hidden.<Page_Load>b__0()
at Microsoft.SharePointLearningKit.SlkUtilities.RetryOnDeadlock(VoidDelegate del)
at Microsoft.SharePointLearningKit.Frameset.Hidden.Page_Load(Object sender, EventArgs e)
Jan 7, 2014 at 9:50 PM
Any suggestion on this request.