Skip to main content
April 10, 2014
Question

AICC error

  • April 10, 2014
  • 2 replies
  • 2042 views

Hi,

I've published the Captivate 7 project using AICC mode.

When I view the output in IE8.0, a popup 'message from Webpage' appears with the error as "An error has occured: Error - LMS did not return a valid status code, Press OK to view debug information to send to technical support".

Please suggest how do I remove this error.

Regads

Seema

This topic has been closed for replies.

2 replies

TLCMediaDesign
Inspiring
April 11, 2014

Your solution will work, but you really should create a lmsConnected or netConnected variable to supress the lms messages when running locally. Parse the URL for http of https, set the netConnected variable to true and add it to the if statement:

var netConneted = (location.protocol == "http:") ? netConnected = true : netConnected = false;

if (strAICCErrorLine == "" && netConnected){

April 11, 2014

Hi Friends,

Got a fix on this.

  • Once you publish the captivate project using the AICC mode, open the file AICCComm.html in Edit mode (notepad/Editplus).
  • Find for the key words "valid status" in this file.
  • You will get the following script:

               if (strAICCErrorLine == ""){

                       blnError = true;

                       strErrorMessage = "ERROR - LMS did not return a valid status code.";

                 }

  • All you have to do is comment the two lines.

               // blnError = true; 

               // strErrorMessage = "ERROR - LMS did not return a valid status code.";

  • Save the file and execute the index file in the browser.

Hope this solution helps you!

Regards