COM/OLE Return Codes

Top  Previous  Next

 

The following values are returned by COM automation methods other than licensing related methods:

 

Constant Value

Value

Description

ROBO_ERROR_FROM_ROBOFTP

0

Any return code greater than or equal to this value comes from Robo-FTP and not from the automation component.

ROBO_ERROR_SUCCESS

-1

The requested operation completed successfully.

ROBO_ERROR_NO_SESSION

-2

A Robo-FTP session has not been established by calling RoboStartSession().

ROBO_ERROR_NO_RESPONSE

-3

An internal error indicating that a command sent to Robo-FTP has not returned properly from a COM/OLE call. Make sure that there are no instances of Robo-FTP running and retry. A Windows reboot may be necessary.

ROBO_ERROR_SESSION_EXISTS

-4

A previous session with the same name already exists.

ROBO_ERROR_TIMED_OUT

-5

The command sent in a blocking RoboSendCommand() call has failed to complete in the allotted time-out period.

ROBO_ERROR_NO_CMD_PENDING

-6

No command is pending that can be stopped on a call to RoboStopCommand().

ROBO_ERROR_CMD_IN_PROGRESS

-7

A script command sent on a non-blocking RoboSendCommand() call is in progress.

ROBO_ERROR_VAR_NOT_FOUND

-8

The specified Robo-FTP script variable specified in a RoboGetVariable() call is not defined.

ROBO_ERROR_CANNOT_CREATE

-9

An internal error indicating that a named Robo-FTP session cannot be created. Make sure that there are no instances of Robo-FTP running and retry. A Windows reboot may be necessary.

ROBO_ERROR_INTERNAL_FAILURE

-10

An internal error indicating that an internal Windows error has occurred. A Windows reboot may be necessary.

ROBO_ERROR_LICENSE_FAILURE

-11

An attempt to access the Robo-FTP licensing system failed.

ROBO_ERROR_MAX_INSTANCES

-12

Maximum number of instances allowed have been launched.

 

 

Values returned by licensing related automation methods:

 

Constant Value

Value

Description

LIC_ERROR_SUCCESS

0

Robo-FTP successfully licensed.

LIC_ERROR_INVALID_RESPONSE

1

Unrecognized response from license server. Could be the result of faulty or unreliable Internet connection.

LIC_ERROR_NOT_RESPONDING

2

No response from license server. Could be the result of faulty or unreliable Internet connection.

LIC_ERROR_CANNOT_REMOVE_LICENSE

3

The license cannot be removed. No additional information is available at run time about this problem. Robo-FTP should be run in interactive mode to pursue this issue.

LIC_ERROR_INVALID_SITE_CODE

100

The license server reports that the license required included an invalid site code. Providing the site code is an internal function of Robo-FTP so this error may be the result of a fault in Robo-FTP or a faulty or unreliable Internet connection.

LIC_ERROR_INVALID_REQUEST

200

The license server reports that it received an invalid license request. Formatting the license request is an internal function of Robo-FTP so this error may be the result of a fault in Robo-FTP or a faulty or unreliable Internet connection.

LIC_ERROR_INVALID_SERIAL_NUM

400

The license server reports that the serial number it received was invalid. Check that you are passing a valid 12-digit serial number on the RoboActivateLicense() call.

LIC_ERROR_INVALID_REMOVAL_CODE

500

The license server reports that the removal code it received was invalid. Check that you are passing a valid 24-character removal code on the RoboActivateLicense() call.

LIC_ERROR_DUP_SITE_CODE

600

The license server reports that the site code it received was used on a previous activation. This is an unlikely error and if it occurs probably indicates a fault in Robo-FTP.

LIC_ERROR_DUP_AUTH

700

The license server reports that the serial number submitted has already been activated. Resubmit the request with the removal code to reactivate. If no removal code is available, Robo-FTP should be run in interactive mode to attempt reactivation. If it fails again here, use the Activation Troubleshooting Wizard to assist in determining the proper recovery action.

LIC_ERROR_NO_SITE_CODE

900

The license server reports that no site code was received. This is an unlikely error and if it occurs probably indicates a fault in Robo-FTP.

LIC_ERROR_INVALID_VERSION

901

The license server reports that the serial number submitted is for a previous version of Robo-FTP. An upgrade is likely required to obtain a valid serial number

 

 

See also: COM Programming Reference