Use of cookies by SourceCode Technology Holdings, Inc. We use cookies to deliver our online services. Details and instructions on how to disable those cookies are set out here. By continuing to use this website you agree to our use of our cookies unless you have disabled them.

Error Message Using AD LDS SmartObjects

This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.

Issue

AD LDS SmartObjects are not working. Noticing "The system cannot find the file specified. (Exception from HRESULT: 0x80070002)" error in your HostServer log files could be caused because of a missing AD service 2 Service Instance or incorrect LDAP string being provided inside of this service instance.

Resolution

Confirm and resolve the issue by navigating to your SmartObject tester tool and expand ServiceObject Explorer then locate the AD service 2 Service Type, can you find it?

If you do see the AD service 2 Service Type then confirm if it has an service instance created under it, should it not have then please register a new instance

While registering a new instance under AD service 2 Service Type you would need to provide your LDAP string. To find you LDAP sting please open workspace and navigate to Management > Management Console > Expand Server > Expand User Managers > Expand K2 > Click On Domains - you should see your LDAP connection here.

If you do not see the AD service 2 Service Type then then you would need to register a new Service Type first before registering a new service instance under its tree.