ERROR Initializing LMS

2,341 views
Skip to first unread message

jeff dangler

unread,
Nov 4, 2013, 3:40:15 PM11/4/13
to elearning-technolo...@googlegroups.com

50% of the time users get this error "ERROR Initializing LMS" when starting CBTs... any ideas...?

intSCORM2004Error=102

 

An error has occurred

 

Error initializing communications with LMS

Philip Hutchison

unread,
Nov 4, 2013, 5:48:55 PM11/4/13
to elearning-technolo...@googlegroups.com
SCORM error 102:

General Initialization Failure (102) Call to Initialize failed for an unknown reason. (source)

Not much we can tell you at this point, except to check your configuration, ensure the LMS connection is active, etc.




--
You received this message because you are subscribed to the Google Groups "eLearning Technology and Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elearning-technology-and...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

jeff dangler

unread,
Nov 6, 2013, 6:59:18 PM11/6/13
to elearning-technolo...@googlegroups.com
Phillip... I was able to find an error log file... Not sure if this sheds light on the issue...
 

:Thu Jul 25 14:58:02 EDT 2013 - AICCComm - Trying to create MSXML2.XMLHTTP in VBScript
1:Thu Jul 25 14:58:02 EDT 2013 - AICCComm - intReCheckLoadedInterval=250
2:Thu Jul 25 14:58:02 EDT 2013 - AICCComm - intReCheckAttemptsBeforeTimeout=240
3:Thu Jul 25 14:58:02 EDT 2013 - AICCComm - IFrameLoaded
4:Thu Jul 25 14:58:02 EDT 2013 - AICCComm - In GetAICCURL
5:Thu Jul 25 14:58:02 EDT 2013 - GetQueryStringValue Element 'AICC_URL' Not Found, Returning: empty string
6:Thu Jul 25 14:58:02 EDT 2013 - AICCComm - Querystring value =
7:Thu Jul 25 14:58:02 EDT 2013 - AICCComm - GetAICCURL returning:
8:Thu Jul 25 14:58:02 EDT 2013 - AICCComm - In DetectPreferredCommMethod, checking XMLHTTP
9:Thu Jul 25 14:58:02 EDT 2013 - AICCComm - Checking IFrame
10:Thu Jul 25 14:58:02 EDT 2013 - AICCComm - blnCanUseXMLHTTP=true
11:Thu Jul 25 14:58:02 EDT 2013 - AICCComm - blnCanUseIFrame=true
12:Thu Jul 25 14:58:02 EDT 2013 - ----------------------------------------
13:Thu Jul 25 14:58:02 EDT 2013 - ----------------------------------------
14:Thu Jul 25 14:58:02 EDT 2013 - In Start - Version: 3.3 Last Modified=08/10/2010 15:49:26
15:Thu Jul 25 14:58:02 EDT 2013 - Browser Info (Microsoft Internet Explorer 4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MS-RTC LM 8; .NET4.0C; .NET4.0E; Tablet PC 2.0; InfoPath.3))
16:Thu Jul 25 14:58:02 EDT 2013 - URL: ((REMOVED SITE NAME)))/Quiz/Index.html
17:Thu Jul 25 14:58:02 EDT 2013 - ----------------------------------------
18:Thu Jul 25 14:58:02 EDT 2013 - ----------------------------------------
19:Thu Jul 25 14:58:02 EDT 2013 - In ClearErrorInfo
20:Thu Jul 25 14:58:02 EDT 2013 - GetQueryStringValue Element 'StandAlone' Not Found, Returning: empty string
21:Thu Jul 25 14:58:02 EDT 2013 - GetQueryStringValue Element 'ShowDebug' Not Found, Returning: empty string
22:Thu Jul 25 14:58:02 EDT 2013 - strStandAlone= strShowInteractiveDebug=
23:Thu Jul 25 14:58:02 EDT 2013 - Standard From Configuration File - SCORM2004
24:Thu Jul 25 14:58:02 EDT 2013 - Using Standard From Configuration File - SCORM2004
25:Thu Jul 25 14:58:02 EDT 2013 - In LMSStandardAPI strStandard=SCORM2004
26:Thu Jul 25 14:58:02 EDT 2013 - Calling Standard Initialize
27:Thu Jul 25 14:58:02 EDT 2013 - In SCORM2004_Initialize
28:Thu Jul 25 14:58:02 EDT 2013 - In SCORM2004_ClearErrorInfo
29:Thu Jul 25 14:58:02 EDT 2013 - Grabbing API
30:Thu Jul 25 14:58:02 EDT 2013 - In SCORM2004_GrabAPI
31:Thu Jul 25 14:58:02 EDT 2013 - Searching with Rustici Software algorithm
32:Thu Jul 25 14:58:02 EDT 2013 - Grab API, returning, found API = true
33:Thu Jul 25 14:58:02 EDT 2013 - Calling LMSInit
34:Thu Jul 25 14:58:02 EDT 2013 - In SCORM2004_CallInitialize
35:Thu Jul 25 14:58:02 EDT 2013 - In SCORM2004_GrabAPI
36:Thu Jul 25 14:58:02 EDT 2013 - Grab API, returning, found API = true
37:Thu Jul 25 14:58:02 EDT 2013 - Calling Initialize
38:Thu Jul 25 14:58:02 EDT 2013 - strResult=false
39:Thu Jul 25 14:58:02 EDT 2013 - Detected failed call to initialize
40:Thu Jul 25 14:58:02 EDT 2013 - In SCORM2004_SetErrorInfo
41:Thu Jul 25 14:58:02 EDT 2013 - intSCORM2004Error=102
42:Thu Jul 25 14:58:02 EDT 2013 - strSCORM2004ErrorString=General Initialization Failure
43:Thu Jul 25 14:58:02 EDT 2013 - strSCORM2004ErrorDiagnostic=General Initialization Failure

44:Thu Jul 25 14:58:02 EDT 2013 - Error calling Initialize:
45:Thu Jul 25 14:58:02 EDT 2013 - Error Number=102
46:Thu Jul 25 14:58:02 EDT 2013 - Error String=General Initialization Failure
47:Thu Jul 25 14:58:02 EDT 2013 - Diagnostic=General Initialization Failure
48:Thu Jul 25 14:58:02 EDT 2013 - ERROR Initializing LMS
49:Thu Jul 25 14:58:02 EDT 2013 - In InitializeExecuted, blnSuccess=false, strErrorMessage=Error initializing communications with LMS
50:Thu Jul 25 14:58:02 EDT 2013 - ERROR - LMS Initialize Failed
51:Thu Jul 25 14:58:02 EDT 2013 - In DisplayError, strMessage=Error initializing communications with LMS

 

We are using your SCORM wrapper v1.1.7

 

 

 

 

 

The error message in the code matched this Snippet of Code...

 

function SCORM2004_Initialize(){

WriteToDebug("In SCORM2004_Initialize");

var blnResult = true;

SCORM2004_ClearErrorInfo();

WriteToDebug("Grabbing API");

try{

SCORM2004_objAPI = SCORM2004_GrabAPI();

}

catch (e){

WriteToDebug("Error grabbing 1.2 API-" + e.name + ":" +

e.message);

}

if (typeof(SCORM2004_objAPI) == "undefined" || SCORM2004_objAPI == null){

WriteToDebug("Unable to acquire SCORM API:")

WriteToDebug("SCORM2004_objAPI=" + typeof(SCORM2004_objAPI));

InitializeExecuted(false, "Error - unable to acquire LMS API,

content may not play properly and results may not be recorded. Please contact

technical support.");

return false;

}

WriteToDebug("Calling LMSInit");

blnResult = SCORM2004_CallInitialize();

if (! blnResult){

WriteToDebug("ERROR Initializing LMS");

InitializeExecuted(false, "Error initializing communications with

LMS");

return false;

}

 

 

 


On Monday, November 4, 2013 5:48:55 PM UTC-5, Philip Hutchison wrote:
SCORM error 102:

General Initialization Failure (102) Call to Initialize failed for an unknown reason. (source)

Not much we can tell you at this point, except to check your configuration, ensure the LMS connection is active, etc.


On Mon, Nov 4, 2013 at 12:40 PM, jeff dangler <jeffd...@gmail.com> wrote:

50% of the time users get this error "ERROR Initializing LMS" when starting CBTs... any ideas...?

intSCORM2004Error=102

 

An error has occurred

 

Error initializing communications with LMS

--
You received this message because you are subscribed to the Google Groups "eLearning Technology and Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elearning-technology-and-development+unsubscribe@googlegroups.com.

Ryan Meyer

unread,
Nov 6, 2013, 7:22:01 PM11/6/13
to elearning-technolo...@googlegroups.com
It doesn't look to me as if there is any error in the client-side SCORM Javascript. Everything seems to initialize properly until the LMS's SCORM implementation returns "false" to the Initialize function. 
You could try some hack workarounds like waiting for a period of time before calling Initialize, or using 1.2 instead of 2004, but you'd really just be stabbing in the dark. Your best bet is to try to get some support from the LMS vendor.
Hope that helps,
Ryan

Sent from my iPhone
To unsubscribe from this group and stop receiving emails from it, send an email to elearning-technology-and...@googlegroups.com.

Philip Hutchison

unread,
Nov 6, 2013, 7:44:34 PM11/6/13
to elearning-technolo...@googlegroups.com
My wrapper does not include any function named "SCORM2004_Initialize".

Are you using two SCORM wrappers?

jeff dangler

unread,
Nov 6, 2013, 7:52:31 PM11/6/13
to elearning-technolo...@googlegroups.com

You are correct Phillip..  I accidently left it in there... it was from a nother API.

You received this message because you are subscribed to a topic in the Google Groups "eLearning Technology and Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elearning-technology-and-development/I-bbMtSwurQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elearning-technology-and...@googlegroups.com.

Ryan Meyer

unread,
Nov 6, 2013, 8:35:22 PM11/6/13
to elearning-technolo...@googlegroups.com, elearning-technolo...@googlegroups.com
Ah, the log file you had posted was from the Rustici wrapper. Maybe you have two competing wrappers running simultaneously? Maybe one had already called Initialize?

Sent from my iPhone

jeff dangler

unread,
Nov 6, 2013, 8:42:21 PM11/6/13
to elearning-technolo...@googlegroups.com

I never thought of that... maybe this is why its an intermitant issue...  How would I determine if this is the case?  Hardware config e.g. load balancing servers behind a VIP...

jeff dangler

unread,
Nov 11, 2013, 1:16:31 PM11/11/13
to elearning-technolo...@googlegroups.com
We are only using your wrapper...Any idea...?
You received this message because you are subscribed to a topic in the Google Groups "eLearning Technology and Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elearning-technology-and-development/I-bbMtSwurQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elearning-technology-and-development+unsubscribe@googlegroups.com.

jeff dangler

unread,
Nov 11, 2013, 3:00:29 PM11/11/13
to elearning-technolo...@googlegroups.com
Ryan... I'm at the bottom of the learning curve for SCORM.... Does the Rustici SCORM2004Functions api do the same function as the SCORM wrapper v1.1.7 by Philip Hutchison...?
You received this message because you are subscribed to a topic in the Google Groups "eLearning Technology and Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elearning-technology-and-development/I-bbMtSwurQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elearning-technology-and-development+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

Ryan Meyer

unread,
Nov 11, 2013, 3:20:31 PM11/11/13
to elearning-technolo...@googlegroups.com
I'm not as intimately familiar with Philip's wrapper, but in general, yes they're accomplishing the same thing. They're both providing utility wrappers to more easily work with the standard JavaScript SCORM API exposed by the LMS. Using them both would likely cause issues, as they're both going to try to initialize, etc.
-Ryan

Sent from my iPhone
To unsubscribe from this group and stop receiving emails from it, send an email to elearning-technology-and...@googlegroups.com.

Philip Hutchison

unread,
Nov 11, 2013, 3:38:09 PM11/11/13
to elearning-technolo...@googlegroups.com
They use different syntax to achieve basically the same outcome. I can't speak to Rustici's features, as I have never used their wrapper.

Mine has a few conveniences built in, including error-checking, auto-setting a few values (such as cmi.exit), and using a single global variable (no global namespace pollution). It also features simplified syntax (scorm.save() instead of LMSCommit()), and supports both SCORM 1.2 and 2004.


Reply all
Reply to author
Forward
0 new messages