Skip to main content

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

Article # 3038551 - Page views: 42


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 



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





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:


Level of Complexity 



Applies to  

Product Version Build Environment Hardware
KTA All      


Add any references to other internal or external articles


Article # 3038551
  • Was this article helpful?