< class="prominent-subhead ">

Code Fix: Searching for a user and specifying a manager who doesn’t exist results in an error

This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue Description

When you search for a user and specify a manager who does not exist, an undescriptive error is presented in the ADUM error logs.

Error Message

The following error occurs: "Error", "FindSecurityUsersWithDefault", "Object reference not set to an instance of an object.", "   at ADUM.K2UserManager2.EscapeSearchFilter(String filter) at ADUM.K2UserManager2.FindSecurityUsersWithDefault(String Group, String Name, String Description, String Email, String Manager, String size, String domainLDAP, String upn, String uOrgUnit, String DisplayName)"


  1. Ensure you have K2 Five RTM installed.
  2. Get the K2 Five RTM FP19 from Regional Support.
  3. Install the K2 Five RTM FP19 to apply the fix.
  4. The error message presented in the Adum error logs will now be more descriptive stating: "The distinguished name property for the manager '[Domain]\[Manager Name]' could not be found.".