---
title: LDAP Search Errors
slug: ldap-search-errors
createdAt: 2025-06-09T23:51:15.907Z
---

When you perform a search for a user in Activate you may get a "The object does not exist" error or a similar error in the Activate logs.

## Log Error Message

Autocomplete Search Error: The object does not exist.

System.DirectoryServices.Protocols.DirectoryOperationException: The object does not exist.

at System.DirectoryServices.Protocols.LdapConnection.ConstructResponse(Int32 messageId, LdapOperation operation, ResultAll resultType, TimeSpan requestTimeOut, Boolean exceptionOnTimeOut)

at System.DirectoryServices.Protocols.LdapConnection.SendRequest(DirectoryRequest request, TimeSpan requestTimeout)

at Innovation.Activate.ActivateLDAPConnection.SendLDAPRequest(DirectoryRequest request)

at Innovation.Activate.ActivateLDAPConnection.LoadQuery(SearchRequest searchRequest, String\[] attr, ProvisioningDirectoryCollection result, ResultEventHandler eventHandler)

at Innovation.Activate.Query.ProvisioningDirectorySearcher.InternalFindInScope(ProvisioningDirectoryCollection result, String dn, String searchfilter, ResultEventHandler eventHandler)

at Innovation.Activate.Query.ProvisioningDirectorySearcher.FindInScope(ProvisioningDirectoryCollection result, StringCollection scopes, String searchfilter, ResultEventHandler eventHandler)

at Innovation.Activate.Query.ProvisioningDirectorySearcher.FindAll(DirectoryQueryNode node, ProvisioningDirectoryCollection result, ResultEventHandler eventHandler)

at Innovation.Activate.Query.ProvisioningDirectorySearcher.FindAll(DirectoryQueryNode query, String filter)

at Innovation.Activate.Web.Search.AutoComplete.GetADSearch(String filter, String defaultParameter)

at Innovation.Activate.Web.Search.AutoComplete.GetDataSource(String type, String& defaultRootName)

at Innovation.Activate.Web.Search.AutoComplete.Search(String term, String available, String options)

## Solution

1\. In Activate Studio - perform a Verify on the Roles and ensure there are no OU or User References to objects that have either been removed from AD or moved to another location directly in AD. The Verify will highlight any issues that need to be fixed.

2\. If you have any references to OUs that have been moved, then perform a sync on the **Users** role once you have removed the bad references.
