Directory Services |
These types of error codes can be returned by any of the ADSI system providers to represent ADSI-specific error messages. They have the facility code 5 with severity bit set either TRUE or FALSE. When the severity bit is set to TRUE, this results in error values of the form 0x80005xxx and error messages of the form E_ADS_*. When the severity bit is set to FALSE, this results in error values of the form 0x00005xxx and the error messages are of the S_ADS_* form.
The following table lists generic ADSI error codes defined in Adserr.h.
Value | Code | Description | Corrective Action |
---|---|---|---|
0x00005011L | S_ADS_ERRORSOCCURRED | During a query, one or more errors occurred. | Verify that the search preference can be legally set and, if so, that it is properly set. |
0x00005012L | S_ADS_NOMORE_ROWS | The search operation has reached the last row. | Move on to the rest of the program. |
0x00005013L | S_ADS_NOMORE_COLUMNS | The search operation has reached the last column for the current row. | Move on to next row. |
0x80005000L | E_ADS_BAD_PATHNAME | An invalid ADSI pathname was passed. | Verify that the object exists on the directory server and check for typographic errors of the path. |
0x80005001L | E_ADS_INVALID_DOMAIN_OBJECT | An unknown ADSI domain object was requested. | Verify the path of the domain object. |
0x80005002L | E_ADS_INVALID_USER_OBJECT | An unknown ADSI user object was requested. | Verify the existence of the user object, check for typos of the path name and the user's access rights. |
0x80005003L | E_ADS_INVALID_COMPUTER_OBJECT | An unknown ADSI computer object was requested. | Verify the existence of the computer object, check for typos of the path name and the computer's access rights. |
0x80005004L | E_ADS_UNKNOWN_OBJECT | An unknown ADSI object was requested. | Verify the name of and the access rights to the object. |
0x80005005L | E_ADS_PROPERTY_NOT_SET | The specified ADSI property was not set. | |
0x80005006L | E_ADS_PROPERTY_NOT_SUPPORTED | The specified ADSI property is not supported. | Verify that the correct property is set. |
0x80005007L | E_ADS_PROPERTY_INVALID | The specified ADSI property is invalid | Verify the parameters passed to the method call. |
0x80005008L | E_ADS_BAD_PARAMETER | One or more input parameters are invalid. | |
0x80005009L | E_ADS_OBJECT_UNBOUND | The specified ADSI object is not bound to a remote resource. | Call GetInfo on a newly created object after SetInfo has been called. |
0x8000500AL | E_ADS_PROPERTY_NOT_MODIFIED | The specified ADSI object has not been modified. | |
0x8000500BL | E_ADS_PROPERTY_MODIFIED | The specified ADSI object has been modified. | |
0x8000500CL | E_ADS_CANT_CONVERT_DATATYPE | The data type cannot be converted to/from a native DS data type. | Verify that the correct data type is used and/or that there is sufficient schema information available to perform data type conversion. |
0x8000500DL | E_ADS_PROPERTY_NOT_FOUND | The property cannot be found in the cache. | Verify that GetInfo has been called implicitly or explicitly. If the attribute is an operational attribute, it must be explicitly retrieved with GetInfoEx instead of GetInfo. If the problem persists, the property has not been set on the server. |
0x8000500EL | E_ADS_OBJECT_EXISTS | The ADSI object exists. | Use a different name to create the object. |
0x8000500FL | E_ADS_SCHEMA_VIOLATION | The attempted action violates the directory service schema rules. | |
0x80005010L | E_ADS_COLUMN_NOT_SET | The specified column in the ADSI was not set. | |
0x80005014L | E_ADS_INVALID_FILTER | The specified search filter is invalid. | Use the correct format of the filter accepted by the directory server. |