Calling LMSInitialize

Hi all,

I have an Articulate '09 course running SCORM 1.2 on a Moodle LMS. The course has several SCORM files loaded into it and all seem to currently be working fine for myself and most of my learners. However, every once in a while I will get odd returns and the presentations will lock up.  It seems to be different presentations at different times causing the issue. Normally within 24 hours the issue will resolve itself.

Most recently it occured for only one person. The presnetation would initiate for them play the first 10-15 seconds and then lock up IE9. I remoted into their computer under my own account and the same issue presented itself. I updated their Flash and Java to the latest versions and the issue continued. 

I installed a different browser (Chrome) since this seemed to be an individual issue and the problem persisted. However, it finally presented me with an error message.

0:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - AICCComm - Trying to create XMLHttpRequest in JavaScript1.5

1:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - AICCComm - Entered browser conditional

2:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - AICCComm - Creating object

3:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - AICCComm - intReCheckLoadedInterval=250

4:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - AICCComm - intReCheckAttemptsBeforeTimeout=240

5:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - AICCComm - IFrameLoaded

6:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - AICCComm - In GetAICCURL

7:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - GetQueryStringValue Element 'AICC_URL' Not Found, Returning: empty string

8:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - AICCComm - Querystring value =

9:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - AICCComm - GetAICCURL returning:

10:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - AICCComm - In DetectPreferredCommMethod, checking XMLHTTP

11:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - AICCComm - Checking IFrame

12:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - AICCComm - blnCanUseXMLHTTP=true

13:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - AICCComm - blnCanUseIFrame=true

14:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - ----------------------------------------

15:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - ----------------------------------------

16:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - In Start - Version: 3.3 Last Modified=04/09/2012 21:46:42

17:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - Browser Info (Netscape 5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1)

18:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - URL: http://techlab.franklinfueling.com/file.php/57/moddata/scorm/54/index_lms.html

19:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - ----------------------------------------

20:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - ----------------------------------------

21:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - In ClearErrorInfo

22:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - GetQueryStringValue Element 'StandAlone' Not Found, Returning: empty string

23:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - GetQueryStringValue Element 'ShowDebug' Not Found, Returning: empty string

24:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - strStandAlone= strShowInteractiveDebug=

25:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - Standard From Configuration File - SCORM

26:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - Using Standard From Configuration File - SCORM

27:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - In LMSStandardAPI strStandard=SCORM

28:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - Calling Standard Initialize

29:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - In SCORM_Initialize

30:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - In SCORM_ClearErrorInfo

31:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - Grabbing API

32:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - In SCORM_GrabAPI

33:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - Searching with improved ADL algorithm

34:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - In SCORM_GetAPI

35:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - SCORM_GetAPI, searching opener

36:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - In SCORM_ScanParentsForApi, win=http://techlab.franklinfueling.com/file.php/57/moddata/scorm/54/launcher.html#

37:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - SCORM_GrabAPI, returning

38:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - Calling LMSInit

39:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - In SCORM_CallLMSInitialize

40:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - In SCORM_GrabAPI

41:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - SCORM_GrabAPI, returning

42:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - Calling LMSInitialize

43:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - strResult=false

44:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - Detected failed call to initialize

45:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - In SCORM_SetErrorInfo

46:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - intSCORMError=101

47:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - strSCORMErrorString=General exception

48:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - strSCORMErrorDiagnostic=101

49:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - Error calling LMSInitialize:

50:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - intSCORMError=101

51:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - SCORMErrorString=General exception

52:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - Diagnostic=101

53:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - ERROR Initializing LMS

54:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - In InitializeExecuted, blnSuccess=false, strErrorMessage=Error initializing communications with LMS

55:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - ERROR - LMS Initialize Failed

56:Tue Aug 14 2012 17:38:25 GMT-0400 (Eastern Daylight Time) - In DisplayError, strMessage=Error initializing communications with LMS

The learner called me back later to inform me that he closed everything out and tried again and it worked fine in Chrome. Any help in determining the issue would be appreciated. The presneter file was set to open in a new window, but the LMS is set for current.

Thanks in advanced.

6 Replies
John Cooper

Hi Joshua

I know this post is a few months old - but I have exactly the same problem with a Storyline course running under a different LMS.  The symptoms you describe are identical to our problem and the error log is scarily similar....

Did you ever find out what was causing your problem - I suspect it would save me a lot of time looking!

Best regards

John

Joshua Norgaard

John,

I did not find the exact cause, but it seems to be related to network connection speeds. Our Moodle based site has over 8,000 accounts and the pathway used to access both internally and externally seems to be a major bottleneck. These type of errors occur more frequently when the network is running slowly. The server we are using is quickly reaching its maximum capacity which is not helping things out. 

John Cooper

Joshua,

Many thanks for your reply.  It has been extremely helpful.  I was also moving toward the conclusion that this might be a capacity issue as it appears that similar problems are affecting different courses running under one particular hosted LMS system.  As with the issues you describe, the problems seem to more prevalent at periods of peak usage.  The failure to initialise the communication session with the LMS doesn't seem to be a timeout, however.  It appears as though some capacity limit has been reached and the initialise request is immediately rejected.

Very best regards & thanks again.

Prashant Misra

hello all, 

As far as I know and understand. This issue usually arises when pop up blockers are enabled in the browser. when you refresh the page after allowing pop-up this message is show. Ideal remedy to this issue is to close the browser before you again try to open a scorm file and then it should run fine. 

Please lemme know in case I am wrong anywhere. 

Thanks and Regards.