Code Fix: Using an Empty String or empty field to filter an Active Directory SmartObject results in an error at runtime

  • 16 February 2021
  • 0 replies
  • 4 views

Badge +9


 




Code Fix: Using an empty string or empty field to filter an Active Directory SmartObject results in an error at runtime














LEGACY/ARCHIVED CONTENT

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 use an empty string or empty field to filter an Active Directory SmartObject, an error is presented at runtime. The same error is presented when you use the IsEmpty filter to filter an Active Directory SmartObject.


Error Message


The following error occurs at runtime: “Message: The(&(objectClass=user)(objectCategory=person)(objectSid=*)(!samAccountType:1.2.840.113556.1.4.804:=3)(!userAccountControl:1.2.840.113556.1.4.804:=2)(mail=)) search filter is invalid.; ServiceName: ADService2; ServiceGuid: 83ac8763-ab63-4f86-8bc8-9bde8729b735; InnerExceptionMessage: ; “


Resolution



  1. Ensure you have K2 Five (5.0) installed.

  2. Download and Install the K2 Five (5.0) September 2018 Cumulative Update from K2 Partner and Customer Portal.

  3. Download the K2 Five (5.0) September 2018 Cumulative Update FP05 from K2 Partner and Customer Portal.

  4. Install the K2 Five (5.0) September 2018 Cumulative Update FP05 to apply the fix.


 






0 replies

Be the first to reply!

Reply