Error Message When Assigning Course

Topics: User Forum
Oct 24, 2006 at 3:08 PM
I'm receiving an error message when attempting to assign a SCORM course to a learner in SLK. This is the error found in Event Viewer:

SharePoint Learning Kit Error

Microsoft.LearningComponents.LearningComponentsInternalException: Exception of type 'Microsoft.LearningComponents.LearningComponentsInternalException' was thrown.
at Microsoft.LearningComponents.Manifest.Helper.CombinePaths(Uri oldPath, String path, CombinePathsLogWarningDelegate logWarning)
at Microsoft.LearningComponents.Manifest.MetadataNodeReader.get_Location()
at Microsoft.LearningComponents.Manifest.MetadataNodeReader.get_Lom()
at Microsoft.LearningComponents.Manifest.MetadataNodeReader.GetTitle(CultureInfo culture)
at Microsoft.LearningComponents.Manifest.MetadataNodeReader.Create(Helper helper, PackageReader packageReader, XPathNavigator metadata, Uri xmlBase)
at Microsoft.LearningComponents.ManifestValidator.ValidateNode(OrganizationNodeReader nodeReader)
at Microsoft.LearningComponents.ManifestValidator.ValidateCollection(ReadOnlyCollection`1 collection)
at Microsoft.LearningComponents.ManifestValidator.ValidateNode(ManifestReader reader)
at Microsoft.LearningComponents.PackageValidator.Validate(PackageValidatorSettings packageValidatorSettings, PackageReader packageReader, Boolean logReplacement, ValidationResults log, ManifestReaderSettings manifestSettings, LrmSettings lrmSettings, ManifestReader& manifestReader)
at Microsoft.LearningComponents.PackageValidator.Validate(PackageValidatorSettings packageValidatorSettings, PackageReader packageReader)
at Microsoft.SharePointLearningKit.SlkStore.RegisterAndValidatePackage(SPWeb spWeb, SPFile spFile, Int32 versionId, Boolean validateOnly, PackageItemIdentifier& packageId, LearningStoreXml& warnings)
at Microsoft.SharePointLearningKit.SlkStore.ValidatePackage(String location)
at Microsoft.SharePointLearningKit.ApplicationPages.ActionsPage.OnPreRender(EventArgs e)

Has anyone else encountered this problem?
Oct 24, 2006 at 11:34 PM
This discussion has been copied to Work Item 4727. You may wish to continue further discussion there.
Oct 24, 2006 at 11:36 PM
Hi "peted",

My name is Mark, and I am a developer on the SLK team. One of our testers found a bug I fixed recently that caused a similar event message. I was wondering if it would be possible to get a copy of your SCORM package so I can test that the problem you are experiencing has indeed been fixed.

I have converted this message thread to a work item that appears in the "Issue Tracker" tab. If you are able to upload your SCORM package into the work item, it would be very helpful.

Thank you,
Oct 25, 2006 at 1:27 PM

Thank you for the quick response! Unfortunately, due to the proprietary nature of the content of the SCORM Course, I am unable to upload it. However, I did find a solution to the problem. I noticed that the manifest file in the root of the SCORM Course zip referenced an XML file that included spaces in the file name. Specifically, the reference appeared in the section of manifest XML below:

<schema>ADL SCORM</schema>
>> <adlcp:location>Flash Lessons Only.xml</adlcp:location>

I thought perhaps SLK was encountering the problem while trying to parse that line. I changed the file name so it did not include spaces, updated the reference in the manifest, and was able to assign and display the course content without a problem. Hopefully this helps!

- Pete
Oct 26, 2006 at 6:06 PM

Thanks very much for the reply and extra information. This issue will be fixed in the next release.