Error Codes

The errors returned by the Arcana Scheduler API fall into three classes:

 

Enumeration

Hex Value

Decimal Value

Description

ADS_E_VERSION_MISMATCH

0xC0040001

-1073479679

The version of the Arcana Scheduler running on the target computer is incompatible with the client version.

ADS_E_INVALID_SESSION_ID

0xC0040002

-1073479678

The connection with the Arcana Scheduler service was lost.

ADS_E_SESSION_TERMINATED

0xC0040003

-1073479677

The connection with the Arcana Scheduler service was lost.

ADS_E_INTERNAL_ERROR

0xC0040004

-1073479676

An unexpected error occurred. Contact Arcana Development technical support.

ADS_E_PASSWORD_REQUIRED

0xC0040005

-1073479675

A password is required to connect to the Scheduler service on the selected computer.

ADS_E_INVALID_PASSWORD

0xC0040006

-1073479674

The specified password is invalid.

ADS_E_INVALID_ENTRY_ID

0xC0040007

-1073479673

The requested job does not exist.

ADS_E_ACCESS_DENIED

0xC0040009

-1073479671

The authenticated client does not have permission to perform the action.

ADS_E_DUPLICATE_DESCRIPTION

0xC004000A

-1073479670

The job you are trying to add or save has the same description as an existing job.

ADS_E_INVALID_INDEX

0xC004000B

-1073479669

The requested job does not exist.

ADS_E_TOO_MANY_SCHEDULES

0xC004000C

-1073479668

The job already has 99 schedules; no more can be added.

ADS_E_NOT_INITIALIZED

0xC004000D

-1073479667

The API failed to initialize properly. One or more components may not be installed correctly.

ADS_E_NO_JOB_SET

0xC004000E

-1073479666

No job was specified for the requested property.

ADS_E_NOT_FOUND

0xC004000F

-1073479665

The requested item was not found.

ADS_E_SERVICE_NOT_RUNNING

0xC0040010

-1073479664

The Arcana Scheduler service is not running on the target computer. Use the StartService method to start it.

ADS_E_INVALIDATED

0xC0040011

-1073479663

The job has been invalidated because the session was terminated or refreshed. Changes to the job cannot be saved.

ADS_E_JOB_NOT_ENABLED

0xC0040012

-1073479662

The attempted action cannot be completed because the job is disabled.

ADS_E_DUPLICATE_ADT

0xC0040013

-1073479661

The job you are trying to save has the same ApplicationDefinedTag as an existing job.

ADS_SYSTEM_ERROR

0xC0041000

-1073475584

See remarks above.