Skip to main content
Kofax

SYSTEM Active Directory Synchronization process failing with Index and length must refer to a location within the string error

Article # 3038551 - Page views: 25

Issue

When using the built in SYSTEM Active Directory Synchronization process map, the Job is failing with a Critical_Error_Text:

Index and length must refer to a location within the string 

 

Cause

This error can be caused by incorrect configurations in one of the required Server Variables:

AD_USERNAME

AD_SERVERNAME

 

Solution

In one case, the AD_USERNAME was set to an AD Path and not a domain user who has the proper permissions to extract information from the configured Active Directory.  Secondly, the AD_SERVERNAME was prefixed with a URL.  The proper format should be something like this: <SERVER_NAME>/OU=OU_ABC-Sales,OU=OU-ABC

 

For additional information in regards to proper configurations, see the Online Help through the Designer.  Here is link from KTA 7.10:

https://docshield.kofax.com/KTA/en_US/7.10.0-vmhad0mru4/help/Designer/All_Shared/Workflow/t_synchadwithta.html?h=ad%20sync

 

Level of Complexity 

Moderate

 

Applies to  

Product Version Build Environment Hardware
KTA All      

References

Add any references to other internal or external articles

 

Article # 3038551