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.

Symptoms

Hostserver log, error message:

'Message: The system cannot find the file specified. (Exception from HRESULT: 0x80070002); ServiceName: AD LDS K2; ServiceGuid: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx; InnerExceptionMessage: ;'

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.