Most of the ADO's error code corresponds to the meaning (http://www.zhujiangroad.com)
In addition to the provider errors illustrated in the Error object and the Errors collection, the ADO itself also returns the error to the operating mechanism of the runtime environment. Using the error capture mechanism (such as the on Error statement in Microsoft® Visual Basic®) can capture and process the following errors. The following table will display a decimal and hexadecimal error code value at the same time. Constant Name Number Description AderrinvaliDargument 3001 0x800A0BB9 The parameter used by the application uses its type error, exceeds an acceptable range or conflicts with other parameters. AderrnocurrentRecord 3021 0x800A0BCD BOF or EOF is true, or the current record has been deleted. The operation requested by the application requires the current record. ADERRLLEGALOPERATION 3219 0x800A0C93 The operation of the application request is not allowed to appear in this context ADERRINTRANSACTION 3246 0x800A0CAE in transaction cannot explicitly shut down the Connection object. The AderrfeatureNotavailable 3251 0x800A0CB3 provider does not support the operation of the application request. AdritEmNotfound 3265 0x800A0CC1 ADO cannot find an object in a collection corresponding to the name or order reference corresponding to the application request. AderRobjectIncollection 3367 0x800A0D27 is unable to add, the object is already in the collection. The ADERROBJECTNOTSET 3420 0x800A0D5C application references are no longer pointing to valid objects. The ADERRDATACONVERSION 3421 0x800A0D5D application uses a value type that does not conform to the current operation. ADERROBJECTCLOSED 3704 0x800A0E78 If the object is turned off, the application request is not allowed. ADERROBJECTOPEN 3705 0x800A0E79 If an object is open, the application request is not allowed. AdrProviderNotfound 3706 0x800A0E7A ADO does not find the specified provider. The AderRboundTocommand 3707 0x800a0e7b application cannot use the Command object to change the ActiveConnection property of the Recordset object to its source data. The ADERRINVALIDPARAMINFO 3708 0x800A0E7C application erroneously defines Parameter objects. The ADERRINVALIDCONNECTION 3709 0x800A0E7D application requests the operation of the object by reference to the closed or invalid Connection object.