Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
Hi Friends,
Got a fix on this.
if (strAICCErrorLine == ""){
blnError = true;
strErrorMessage = "ERROR - LMS did not return a valid status code.";
}
// blnError = true;
// strErrorMessage = "ERROR - LMS did not return a valid status code.";
Hope this solution helps you!
Regards
Copy link to clipboard
Copied
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){
Find more inspiration, events, and resources on the new Adobe Community
Explore Now