Problem running BasicWebPlayer: Could not load file or assembly 'Microsoft.LearningComponents, Version=1.3.0.2

Mar 25, 2009 at 11:26 PM
I have downloaded the SLK and am able to compile the project just fine. I'm trying to run the uploadpackage.aspx page as a starting point. As soon as i attempt to press the UPLOAD button, i get this error:

Could not load file or assembly 'Microsoft.LearningComponents,Version=1.3.0.2, Culture=neutral, PublicKeyToken=24e5ae139825747e' or one of itsdependencies. The located assembly's manifest definition does not match theassembly reference. (Exception from HRESULT: 0x80131040)

The version of Microsoft.LearningComponents.DLL that comes with this build is version 1.3.1.0. For some reason, it looks like the project is expecting to see 1.3.0.2 when it goes to load the DLL instead of 1.3.1.0 which is actually in the bin directory. I can't find any specific reference to version 1.3.0.2 throughout the project so i'm confused why it appears to require this one and will not run with verion 1.3.1.0 in place. I've tried removing and adding back the reference to the dll to no avail. Can anyone give me guidance as to the root cause of this problem ? 

thank you.

Coordinator
Mar 29, 2009 at 11:06 PM
Hi Elitz,

Could you post the stack trace as well please.

Where exactly did you download the code from?

Richard
SLK Co-ordinator
http://blog.salamandersoft.co.uk
Apr 3, 2009 at 11:23 PM

Richard.....thanks for your reponse. I've attached a copy of the stack trace. I pulled the code down from the codeplex site (codeplex.com/slk) using the current release link at the top right...
Since first asking this question, i was able to skirt the issue by updating the source code, specifically the /shared/version.cs file, changing the version number from 1.3.1.0 to 1.3.0.2 and recompiling. For now, i am able to move on....but it appeared to me that there was a code incompatibility in that build release...with the code version set to 1.3.1.0 but the basic web player looking specifically for 1.3.0.2. Any thoughts on why i ran into this ?




From: [email removed]
To: [email removed]
Date: Sun, 29 Mar 2009 15:06:06 -0700
Subject: Re: Problem running BasicWebPlayer: Could not load file or assembly 'Microsoft.LearningComponents, Ve... [SLK:51319]

From: richardwillis
Hi Elitz,

Could you post the stack trace as well please.

Where exactly did you download the code from?

Richard
SLK Co-ordinator
http://blog.salamandersoft.co.uk


Rediscover Hotmail®: Now available on your iPhone or BlackBerry Check it out.
Coordinator
Apr 14, 2009 at 12:42 AM
Hi Elitz,

I can't see the code for Basic Web Player to download at http://slk.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=9206#ReleaseFiles which is the current release.

I can't find any reference to 1.3.0.2 in the latest source code at http://slk.codeplex.com/SourceControl/ListDownloadableCommits.aspx.

Richard
Oct 27, 2010 at 8:39 PM
Hello Richard. Quite a while ago, i conversed with you regarding the Microsoft Learning Components project. It had a component called the Basic Web Player that was a demonstration of implementing the MLC in a webforms application (outside of Sharepoint). I was able to use that app as a guide and successfully implement the MLC in an asp.net web forms app. That was well over a year ago. I have a few questions going forward.

1. I originally implemented version 1.3.1 of the MLC code. At that point in time, i do not believe it fully supported the "sequencing" and "navigation" aspects of scorm 2004 version 3. (could be wrong there, but i did some testing with courses that employed sequencing without any success). So my question is, do the latest versions of the SLK code fully support the latest scorm releases (version 3 and/or 4) and associated sequencing/navigation functionality ?

2. My second question is related to above...and that is...given my current use of the MLC framework from version 1.3.1, is there a clear upgrade path for me to move to the latest code base that exists under the SLK project ? Given i',m not implementing the SLK code as a sharepoint component (rather i'm implementing functionality as a asp.net web forms application as described above), i'm wondering how easily i'll be able to continue to utilize the SLK project and code for my particular needs.

Thank You.

Elliot Litz
EM-Assist


From: [email removed]
To: [email removed]
Date: Mon, 13 Apr 2009 16:42:57 -0700
Subject: Re: Problem running BasicWebPlayer: Could not load file or assembly 'Microsoft.LearningComponents, Ve... [SLK:51319]

From: richardwillis
Hi Elitz,

I can't see the code for Basic Web Player to download at http://slk.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=9206#ReleaseFiles which is the current release.

I can't find any reference to 1.3.0.2 in the latest source code at http://slk.codeplex.com/SourceControl/ListDownloadableCommits.aspx.

Richard
Read the full discussion online.
To add a post to this discussion, reply to this email (SLK@discussions.codeplex.com)
To start a new discussion for this project, email SLK@discussions.codeplex.com
You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on codePlex.com.
Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com
Coordinator
Nov 9, 2010 at 9:09 AM

Hi Elitz,

1. There hasn't been any changes about SCORM support lately.

2. You should be able to just use the latest versions of the MLC components. I'll upload them separately on the releases page with the next release.