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

SLK error while playing a SCROM content

Topics: Developer Forum, Project Management Forum, User Forum
Sep 4, 2014 at 7:19 PM
When concurrent users are accessing a deployed SCROM content in SLK, the SharePoint server logs the below errors one at different times. The course is not launching.

Please help if somebody knows the cause for the below error and the solution if any.

SharePoint Learning Kit Error

An error occurred. More information: Microsoft.LearningComponents.SharePoint.CacheException: Could not get a lock on the file within the allowed tries. ---> Microsoft.LearningComponents.SharePoint.CacheException: Locking the cache directory failed and then the invalid cache folder and/or lock file could not be removed. ---> System.IO.IOException: The process cannot access the file 'Intro_Role_3.mp4' because it is being used by another process.
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive)
at Microsoft.LearningComponents.SharePoint.CachedPackage.LockCacheDirectory(String lockFileName, String cacheDir, CachedFileInfo fileInfo)
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---

SharePoint Learning Kit Error

An error occurred. More information: Microsoft.LearningComponents.InvalidPackageException: The package is missing the required file, imsmanifest.xml.
at Microsoft.LearningComponents.FileSystemPackageReader.TransmitFile(String filePath, HttpResponse response, Boolean skipValidation)
at Microsoft.LearningComponents.FileSystemPackageReader.TransmitFile(String filePath, HttpResponse response)
Sep 5, 2014 at 8:02 AM
What version of SLK are you using? I have done some work about optimising the cache recently, but can't remember if that went into 1.7 or 1.8.

The second error is because the SCORM package is invalid. It must have an imsmanifest.xml file in.

SLK Coordinator
Sep 5, 2014 at 11:40 AM
Hi Richard,

Thanks for your reply.

We are using SLK 1.5 version. We did not upgrade it for the past 2 years. It will be great if you can let us know what kind of optimizing you did to overcome such issue.

Regarding the second error, the imsmanifest.xml file is available in the SCROM package. During high concurrent access, we feel this error occurs. Please throw some light on this.