| Previous | Next |
| ERROR_DS_REFERRAL_LIMIT_EXCEEDED | ERROR_DS_OFFSET_RANGE_ERROR |
ERROR_DS_SORT_CONTROL_MISSING
ERROR_DS_SORT_CONTROL_MISSING (0x00002045) is an Active Directory Domain Services LDAP result. The LDAP search requires a server-side sort control, but the request did not include the required control.
What to check
- Identify whether the application uses virtual list view or another feature that depends on sorted results.
- Add the matching server-side sort control only when the target DC advertises support for it.
- Avoid treating an arbitrary client-side sort as equivalent when the protocol operation requires server ordering.
Useful command
Get-ADRootDSE -Server "<dc-fqdn>" | Select-Object supportedControl
Microsoft: AD DS LDAP operations · Microsoft: LDAP ETW tracing · Microsoft: LDAP policy with Ntdsutil
Looking for a different code? Search another status or error code.