ERROR_DS_NON_BASE_SEARCH - 8480 (0x2120)

The requested search operation is only supported for base searches.

Updated: Feb 21, 2026

Technical Meaning

The error code ERROR_DS_NON_BASE_SEARCH indicates that a search operation was attempted in a manner not supported by the underlying directory service. Specifically, it signifies that the requested search is not a base search.

Error Details

A base search refers to an operation where the entire subtree rooted at a specified distinguished name (DN) is searched. This error occurs when a non-base search operation was attempted, such as a search limited by a filter or scope other than the full subtree of a DN.

Usage Context

This error typically arises in scenarios involving directory services, particularly those utilizing the Lightweight Directory Access Protocol (LDAP). It can be encountered during operations that attempt to perform searches with specific filters or scopes beyond what is supported for base searches.

Developer Interpretation

Developers should understand that this error code indicates a mismatch between the intended search operation and the capabilities of the directory service. Base searches are designed to traverse the entire subtree, whereas other types of searches may require different operations or parameters.

Related Errors

FAQ

Q: What does ERROR_DS_NON_BASE_SEARCH mean?

A: It indicates that a non-base search operation was attempted, which is not supported by the directory service.

Q: How can I resolve this error?

A: Ensure that the search operation aligns with base search requirements or use appropriate operations for more specific searches.

Summary

The ERROR_DS_NON_BASE_SEARCH error code highlights a mismatch between the intended search operation and the capabilities of the directory service. Developers should ensure their search operations are correctly aligned with the supported search types to avoid this error.