ErrorCode Property



 
The ErrorCode property contains the last error code.


Syntax

    [long=] SiteCafe.Server.ErrorCode
    
Possible Values
    Long value that retrieves the error code.

    The property is read only.
Remarks
    Possible error codes are:

    1 : database initialization failed (possibly wrong username/password)
    2 : database test failed (tables missing)
    3 : connection to database lost
Examples
    The following example displays the last error code.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteCafe.Server.ErrorCode);
    </SCRIPT>
    

Applies to
    SiteKiosk v6.2 (and later versions).

Back to top