| Previous | Next |
| E_ADS_CANT_CONVERT_DATATYPE | E_ADS_OBJECT_EXISTS |
E_ADS_PROPERTY_NOT_FOUND
E_ADS_PROPERTY_NOT_FOUND is explicitly a property-cache condition in ADSI. A valid directory attribute can still produce this error when it has not been loaded into the current object cache. Microsoft also notes that operational attributes may need an explicit GetInfoEx request.
Determine whether the attribute is absent on the server or only absent from the cache
- Record whether
GetInfoorGetInfoExwas called on this object instance before the failing read. - For operational or selectively returned attributes, request the exact LDAP display name with
GetInfoEx. - After a refresh, distinguish an unset server attribute from a cache population problem instead of retrying
Getindefinitely.
The ADSI cache starts empty when an object is created or first bound. Reads can trigger an implicit GetInfo, but once the cache is populated ADSI reads from it until an explicit refresh. Some directory services do not return every value through GetInfo. Therefore, diagnostic logging should include object instance lifetime and refresh history. This error is not equivalent to E_ADS_PROPERTY_NOT_SUPPORTED.
Generic ADSI errors · ADSI attribute cache · GetInfoEx optimization
Looking for a different code? Search another status or error code.
