Error communicating with API by articulate scorm 2004 content

Hi ,

I am new here and this is my first post. Please inform me incase this question does not belong here.

We have an LMS which plays content inside an iframe. The API of the LMS is defined in it's parent window.

I created a content and set the launch property to launch inline(not in a new window).

I see an error message when i launch the content. It is able to find the API but says that it cannot commuicate to it.

When i just play the player.html file i see the content being played. So, this might not be a system requirements issue. The actual error message i see is  -

"An error has occured:

Error initializing communications with LMS

Press 'OK' to view debug information to send to technical support."

and my debug log says..

"0:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - AICCComm - Trying to create XMLHttpRequest in JavaScript1.5

1:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - AICCComm - Entered browser conditional
2:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - AICCComm - Creating object
3:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - AICCComm - intReCheckLoadedInterval=250
4:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - AICCComm - intReCheckAttemptsBeforeTimeout=240
5:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - AICCComm - IFrameLoaded 
6:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - AICCComm - In GetAICCURL
7:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - GetQueryStringValue Element 'AICC_URL' Not Found, Returning: empty string
8:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - AICCComm - Querystring value = 
9:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - AICCComm - GetAICCURL returning:
10:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - AICCComm - In DetectPreferredCommMethod, checking XMLHTTP
11:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - AICCComm - Checking IFrame
12:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - AICCComm - blnCanUseXMLHTTP=true
13:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - AICCComm - blnCanUseIFrame=true
14:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - ----------------------------------------
15:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - ----------------------------------------
16:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - In Start - Version: 3.3 Last Modified=09/22/2011 05:35:47
17:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - Browser Info (Netscape 5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16)
18:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - URL: http://localhost:3002/system/uploaded_datas/181/articulate_new/index_lms.html
19:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - ----------------------------------------
20:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - ----------------------------------------
21:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - In ClearErrorInfo
22:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - GetQueryStringValue Element 'StandAlone' Not Found, Returning: empty string
23:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - GetQueryStringValue Element 'ShowDebug' Not Found, Returning: empty string
24:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - strStandAlone= strShowInteractiveDebug=
25:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - Standard From Configuration File - SCORM2004
26:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - Using Standard From Configuration File - SCORM2004
27:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - In LMSStandardAPI strStandard=SCORM2004
28:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - Calling Standard Initialize
29:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - In SCORM2004_Initialize
30:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - In SCORM2004_ClearErrorInfo
31:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - Grabbing API
32:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - In SCORM2004_GrabAPI
33:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - Searching with Rustici Software algorithm
34:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - Grab API, returning, found API = true
35:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - Calling LMSInit
36:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - In SCORM2004_CallInitialize
37:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - In SCORM2004_GrabAPI
38:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - Grab API, returning, found API = true
39:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - Calling Initialize
40:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - strResult=false
41:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - Detected failed call to initialize
42:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - In SCORM2004_SetErrorInfo
43:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - intSCORM2004Error=0
44:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - strSCORM2004ErrorString=No Error
45:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - strSCORM2004ErrorDiagnostic=
46:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - Error calling Initialize:
47:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - Error Number=0
48:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - Error String=No Error
49:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - Diagnostic=
50:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - ERROR Initializing LMS
51:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - In InitializeExecuted, blnSuccess=false, strErrorMessage=Error initializing communications with LMS
52:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - ERROR - LMS Initialize Failed
53:Thu Sep 22 2011 11:26:17 GMT+0530 (IST) - In DisplayError, strMessage=Error initializing communications with LMS"

Would by great to know if any tips here. 

Thanks,

Uday

4 Replies
udaya kiran

Todd, Thanks for the reply. Some more investigation on the log shows me that , the call to initialize() method failed.

Did a little bit of inspection and realized that the LMS was returning false on Initialize() method. This is an LMS with a rather new SCORM player. The SCORM player is under testing. So, that should be an issue with player.

Thanks.