Where is the configuration for the LMS API?

Jul 02, 2013

I am running the index_lms.html file on my server and it errors with the infamous "unable to acquire LMS API" message. I have not yet done anything to tell it where the LMS API is, so I'm not surprised. However, I cannot find the place where I do tell it where the LMS API is.

It also has errors such as "unable to acquire SCORM API" which the SCORM...js files are included, so I'm surprised by that.

Where do I set up configuration for these files? My entire error log is below. Thanks!

0:Tue Jul 2 10:29:16 CDT 2013 - AICCComm - Trying to create MSXML2.XMLHTTP in VBScript
1:Tue Jul 2 10:29:16 CDT 2013 - AICCComm - intReCheckLoadedInterval=250
2:Tue Jul 2 10:29:16 CDT 2013 - AICCComm - intReCheckAttemptsBeforeTimeout=240
3:Tue Jul 2 10:29:16 CDT 2013 - AICCComm - IFrameLoaded
4:Tue Jul 2 10:29:16 CDT 2013 - AICCComm - In GetAICCURL
5:Tue Jul 2 10:29:16 CDT 2013 - GetQueryStringValue Element 'AICC_URL' Not Found, Returning: empty string
6:Tue Jul 2 10:29:16 CDT 2013 - AICCComm - Querystring value =
7:Tue Jul 2 10:29:16 CDT 2013 - AICCComm - GetAICCURL returning:
8:Tue Jul 2 10:29:16 CDT 2013 - AICCComm - In DetectPreferredCommMethod, checking XMLHTTP
9:Tue Jul 2 10:29:16 CDT 2013 - AICCComm - Checking IFrame
10:Tue Jul 2 10:29:16 CDT 2013 - AICCComm - blnCanUseXMLHTTP=true
11:Tue Jul 2 10:29:16 CDT 2013 - AICCComm - blnCanUseIFrame=true
12:Tue Jul 2 10:29:16 CDT 2013 - ----------------------------------------
13:Tue Jul 2 10:29:16 CDT 2013 - ----------------------------------------
14:Tue Jul 2 10:29:16 CDT 2013 - In Start - Version: 3.3 Last Modified=06/27/2013 18:31:51
15:Tue Jul 2 10:29:16 CDT 2013 - Browser Info (Microsoft Internet Explorer 5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MASM; .NET4.0C; .NET4.0E))
16:Tue Jul 2 10:29:16 CDT 2013 - URL:

.../scorm/645/content/index_lms.html

17:Tue Jul 2 10:29:16 CDT 2013 - ----------------------------------------
18:Tue Jul 2 10:29:16 CDT 2013 - ----------------------------------------
19:Tue Jul 2 10:29:16 CDT 2013 - In ClearErrorInfo
20:Tue Jul 2 10:29:16 CDT 2013 - GetQueryStringValue Element 'StandAlone' Not Found, Returning: empty string
21:Tue Jul 2 10:29:16 CDT 2013 - GetQueryStringValue Element 'ShowDebug' Not Found, Returning: empty string
22:Tue Jul 2 10:29:16 CDT 2013 - strStandAlone= strShowInteractiveDebug=
23:Tue Jul 2 10:29:16 CDT 2013 - Standard From Configuration File - SCORM
24:Tue Jul 2 10:29:16 CDT 2013 - Using Standard From Configuration File - SCORM
25:Tue Jul 2 10:29:16 CDT 2013 - In LMSStandardAPI strStandard=SCORM
26:Tue Jul 2 10:29:16 CDT 2013 - Calling Standard Initialize
27:Tue Jul 2 10:29:16 CDT 2013 - In SCORM_Initialize
28:Tue Jul 2 10:29:16 CDT 2013 - In SCORM_ClearErrorInfo
29:Tue Jul 2 10:29:16 CDT 2013 - Grabbing API
30:Tue Jul 2 10:29:16 CDT 2013 - In SCORM_GrabAPI
31:Tue Jul 2 10:29:16 CDT 2013 - Searching with improved ADL algorithm
32:Tue Jul 2 10:29:16 CDT 2013 - In SCORM_GetAPI
33:Tue Jul 2 10:29:16 CDT 2013 - SCORM_GrabAPI, returning
34:Tue Jul 2 10:29:16 CDT 2013 - Unable to acquire SCORM API:
35:Tue Jul 2 10:29:16 CDT 2013 - SCORM_objAPI=object
36:Tue Jul 2 10:29:16 CDT 2013 - In InitializeExecuted, blnSuccess=false, strErrorMessage=Error - unable to acquire LMS API, content may not play properly and results may not be recorded. Please contact technical support.
37:Tue Jul 2 10:29:16 CDT 2013 - ERROR - LMS Initialize Failed
38:Tue Jul 2 10:29:16 CDT 2013 - In DisplayError, strMessage=Error - unable to acquire LMS API, content may not play properly and results may not be recorded. Please contact technical support.

1 Reply
Star Dusk

Okay, I was able to step through locally using Visual Studio and I can see that there is an LMSAPI.js in the /lms directory that it is stepping through.

I now see it is erroring on the SCORM_GetAPI. It says in the comments that it:

// search all the parents of the current window if there are any

I'm not sure what it is trying to do here. It initializes it to null, then it errors because it is null.

Any ideas?

thanks!

This discussion is closed. You can start a new discussion or contact Articulate Support.