AdsErrorCode

public enum AdsErrorCode
{
    NoError = 0,
    InternalError = 1,
    NoRTime = 2,
    LockedMemoryError = 3,
    MailBoxError = 4,
    WrongHMsg = 5,
    TargetPortNotFound = 6,
    TargetMachineNotFound = 7,
    UnknownCommandID = 8,
    BadTaskID = 9,
    NoIO = 10,
    UnknwonAmsCommand = 11,
    Win32Error = 12,
    PortNotConnected = 13,
    InvalidAmsLength = 14,
    InvalidAmsNetID = 15,
    LowInstallLevel = 16,
    NoDebug = 17,
    PortDisabled = 18,
    PortConnected = 19,
    AmsSyncWin32Error = 20,
    SyncTimeOut = 21,
    AmsSyncAmsError = 22,
    AmsSyncNoIndexMap = 23,
    InvalidAmsPort = 24,
    NoMemory = 25,
    TCPSendError = 26,
    HostUnreachable = 27,
    NoLockedMemory = 1280,
    MailboxFull = 1282,
    DeviceError = 1792,
    DeviceServiceNotSupported = 1793,
    DeviceInvalidGroup = 1794,
    DeviceInvalidOffset = 1795,
    DeviceInvalidAccess = 1796,
    DeviceInvalidSize = 1797,
    DeviceInvalidData = 1798,
    DeviceNotReady = 1799,
    DeviceBusy = 1800,
    DeviceInvalidContext = 1801,
    DeviceNoMemory = 1802,
    DeviceInavlidParam = 1803,
    DeviceNotFound = 1804,
    DeviceSyntaxError = 1805,
    DeviceIncompatible = 1806,
    DeviceSymbolNotFound = 1808,
    DeviceSymbolVersionInvalid = 1809,
    DeviceInvalidState = 1810,
    DeviceTransModeNotSupported = 1811,
    DeviceNotifyHandleInvalid = 1812,
    DeviceClientUnknown = 1813,
    DeviceNoMoreHandles = 1814,
    DeviceInvalidWatchsize = 1815,
    DeviceNotInitialized = 1816,
    DeviceTimeOut = 1817,
    DeviceNoInterface = 1818,
    DeviceInvalidInterface = 1819,
    DeviceInvalidCLSID = 1820,
    DeviceInvalidObjectID = 1821,
    ClientError = 1856,
    ClientInvalidParameter = 1857,
    ClientListEmpty = 1858,
    ClientVaraiableInUse = 1859,
    ClientDuplicateInvokeID = 1860,
    ClientSyncTimeOut = 1861,
    ClientW32OR = 1862,
    ClientTimeoutInvalid = 1863,
    ClientPortNotOpen = 1864,
    ClientNoAmsAddr = 1865,
    ClientSyncInternal = 1872,
    ClientAddHash = 1873,
    ClientRemoveHash = 1874,
    ClientNoMoreSymbols = 1875,
    ClientSyncResInvalid = 1876,
    ClientSyncPortLocked = 1877,
    ClientQueueFull = 32768,
}

Members

Member Name

Description

NoError

No Error.

Error code: 0(0x000).

InternalError

Internal Error.

Error code: 1(0x001).

NoRTime

No Rtime.

Error code: 2(0x002).

LockedMemoryError

Allocation locked memory error.

Error code: 3(0x003).

MailBoxError

Insert mailbox error.

Error code: 4(0x004).

WrongHMsg

Wrong receive HMSG.

Error code: 5(0x005).

TargetPortNotFound

Target port not found.

Error code: 6(0x006).

TargetMachineNotFound

Target machine not found.

Error code: 7(0x007).

UnknownCommandID

Unknown command ID.

Error code: 8(0x008).

BadTaskID

Bad task ID.

Error code: 9(0x009).

NoIO

No IO.

Error code: 10(0x00A).

UnknownAmsCommand

Unknown AMS command.

Error code: 11(0x00B).

Win32Error

Win 32 error.

Error code: 12(0x00C).

PortNotConnected

Port is not connected.

Error code: 13(0x00D).

InvalidAmsLength

Invalid AMS length.

Error code: 14(0x00E).

InvalidAmsNetID

Invalid AMS Net ID.

Error code: 15(0x00F).

LowInstallLevel

Low Installation level.

Error code: 16(0x010).

NoDebug

No debug available.

Error code: 17(0x011).

PortDisabled

Port disabled.

Error code: 18(0x012).

PortConnected

Port is already connected.

Error code: 19(0x013).

AmsSyncWin32Error

AMS Sync Win32 error.

Error code: 20(0x014).

SyncTimeOut

AMS Sync timeout.

Error code: 21(0x015).

AmsSyncAmsError

AMS Sync AMS error

Error code: 22(0x016).

AmsSyncNoIndexMap

AMS Sync no index map.

Error code: 23(0x017).

InvalidAmsPort

Invalid AMS port.

Error code: 24(0x018).

NoMemory

No memory.

Error code: 25(0x019).

TCPSendError

TCP send error.

Error code: 26(0x01A).

HostUnreachable

Host unreachable.

Error code: 27(0x1B).

NoLockedMemory

Router: no locked memory.

Error code: 1280(0x500).

MailboxFull

Router: mailbox full.

Error code: 1282(0x501).

DeviceError

error class <device error">

Error code: 1792(0x700).

DeviceServiceNotSupported

Service is not supported by server.

Error code: 1793(0x701).

DeviceInvalidGroup

Invalid index group.

Error code: 1794(0x702).

DeviceInvalidOffset

Invalid index offset.

Error code: 1795(0x703).

DeviceInvalidAccess

Reading/writing not permitted.

Error code: 1796(0x704).

DeviceInvalidSize

Parameter size not correct.

Error code: 1797(0x705).

DeviceInvalidData

Invalid parameter value(s).

Error code: 1798(0x706).

DeviceNotReady

Device is not in a ready state.

Error code: 1799(0x707).

DeviceBusy

Device is busy.

Error code: 1800(0x708).

DeviceInvalidContext

Invalid context (must be in Windows).

Error code: 1801(0x709).

DeviceNoMemory

Out of memory.

Error code: 1802(0x70a).

DeviceInavlidParam

Invalid parameter value(s).

Error code: 1803(0x70b).

DeviceNotFound

Not found (files, ...).

Error code: 1804(0x70c).

DeviceSyntaxError

Syntax error in command or file.

Error code: 1805(0x70d).

DeviceIncompatible

Objects do not match.

Error code: 1806(0x70e).

DeviceExists

Object already exists.

Error code: 1807(0x70f).

DeviceSymbolNotFound

Symbol not found.

Error code: 1808(0x7010).

DeviceSymbolVersionInvalid

Symbol version is invalid.

Error code: 1809(0x711).

DeviceInvalidState

Server is not i a valid state.

Error code: 1810(0x712).

DeviceTransModeNotSupported

ADS transmode is not supported.

Error code: 1811(0x713).

DeviceNotifyHandleInvalid

Notification handle is invalid.

Error code: 1812(0x714).

DeviceClientUnknown

Notification client not registered.

Error code: 1813(0x715).

DeviceNoMoreHandles

No more notification handles.

Error code: 1814(0x716).

DeviceInvalidWatchsize

Size for watch to big.

Error code: 1815(0x717).

DeviceNotInitialized

Device is not initialized.

Errocr code: 1818(0x718).

DeviceTimeOut

Device has a timeout.

Error code: 1817(0x719).

DeviceNoInterface

Query interface has failed.

Error code: 1818(0x71A).

DeviceInvalidInterface

Wrong interface required.

Error code: 1819(0x71B).

DeviceInvalidCLSID

Class ID is invalid.

Error code: 1820(0x71C).

DeviceInvalidObjectID

Object ID is invalid.

Error code: 1821(0x71D).

ClientError

Error class <client error>

Error code: 1856(0x740).

ClientInvalidParameter

Parameter at service is invalid.

Error code: 1857(0x741).

ClientListEmpty

Polling list is empty.

Error code: 1858(0x742).

ClientVaraiableInUse

Variable connection is already in use.

Error code: 1859(0x743).

ClientDuplicateInvokeID

Invoke ID already in use.

Error code: 1860(0x744).

ClientSyncTimeOut

Timeout has elapsed.

Error code: 1861(x745).

ClientW32OR

Error in win32 subsystem.

Error code: 1862(0x746).

ClientTimeoutInvalid

Timeout value is invalid.

Error code: 1863(0x747).

ClientPortNotOpen

Ads port is not opened.

Error code: 1864(0x748).

ClientNoAmsAddr

No AMS addr.

Error code: 1865(0x749).

ClientSyncInternal

An internal in ADS sync has occured.

Error code: 1872(0x750).

ClientAddHash

Hash table overflow.

Error code: 1873(0x751).

ClientRemoveHash

There are no more symbols in the hash table.

Error code: 1874(0x752).

ClientNoMoreSymbols

There are no more symbols in cache.

Error code: 1875(0x753).

ClientSyncResInvalid

An invalid response has been received.

Error code: 1876(0x754).

ClientSyncPortLocked

Sync port is locked.

Error code: 1877(0x755).

ClientQueueFull

Client queue is full