| Previous | Next |
| E_ADS_INVALID_COMPUTER_OBJECT | E_ADS_PROPERTY_NOT_SET |
E_ADS_UNKNOWN_OBJECT
E_ADS_UNKNOWN_OBJECT is a generic object-resolution failure rather than a property-cache error. It is appropriate when ADSI cannot map the requested name/path to an accessible directory object and no more specific domain, user, or computer object code describes the call.
Start with the bind target and security context
- Log provider, host, port, DN, and authentication flags used to open the object.
- Search for the object from a known container to determine whether the stored DN is stale after a rename or move.
- Verify that the caller can see the object; an inaccessible object should not be diagnosed by repeatedly calling
GetInfoon the same unresolved path.
Microsoft describes binding as the operation that connects an ADSI object to the directory service and enables its methods. Until that succeeds, cache refresh and attribute conversion are downstream concerns. For Active Directory, use the valid ADsPath returned by the object when possible, and keep object identity separate from display names. This distinction is especially important in provisioning systems that retain paths across organizational-unit moves.
Generic ADSI errors · Binding Active Directory objects · LDAP ADsPath
Looking for a different code? Search another status or error code.