| Previous | Next |
| E_ADS_PROPERTY_NOT_SUPPORTED | E_ADS_BAD_PARAMETER |
E_ADS_PROPERTY_INVALID
E_ADS_PROPERTY_INVALID indicates that a property-related operation does not satisfy the ADSI method contract. The error reference specifically directs callers to verify parameters passed to the method; this is broader than the property being absent or unsupported.
Capture the method, property name, and value shape together
- Log whether the failing operation is
Get,GetEx,Put, orPutEx. - For
PutEx, remember that ADSI expects a variant array even when updating a single value. - Compare the value representation with the ADSI attribute syntax mapped from the native directory syntax.
The ADSI modification API separates single/multi-value operations and stores changes in the client-side cache until SetInfo. A malformed value can therefore fail before a server-side schema commit. Keep this error distinct from E_ADS_SCHEMA_VIOLATION, which describes a directory schema rule rejected by the attempted action. The most useful trace includes the VARIANT type, array cardinality, ADSI attribute name, and object class.
Generic ADSI errors · Modifying attributes · ADSI attribute syntax
Looking for a different code? Search another status or error code.