Active Directory Sync fault finding (v8.40 and below)
Diagnose legacy Active Directory Sync service, certificate, and connection failures.
Logs and trace
Two apps log on the client workstation. Enable trace by editing the app config's <rules> minlevel to "Trace":
Diagnostic client:
AdSyncDiagnosticClient.exe.configinC:\Program Files (x86)\Gallagher\Gallagher Active Directory Sync Diagnostic Client\binControl app:
AdsControlApp.exe.configinC:\Program Files (x86)\Gallagher\Active Directory Sync ControlService log:
AdSyncService.loginC:\ProgramData\Gallagher\Command Centre

Service not starting — common causes
FT AD Sync Service account lacks access to the certificate store (fix via Sync User Accounts Requirement).
Certificate:
Client certificate mismatch/missing: AD Sync cannot decrypt
repconfig.bininC:\ProgramData\Gallagher\AdSyncService\RepConfig;ADSyncService.logshows "Padding is invalid and cannot be removed". Create a fresh client certificate if unsure and delete the non-working one. Do not confuse the AD Sync server certificate with the client certificate.Server certificate thumbprint does not match the one generated by the AD Deployment utility (often a certificate retained from a previous install).
Corrupted
repconfig.bin/ unrecoverable client certificate:Corrupted: delete
repconfig.bin, renamerepconfig.old.bintorepconfig.bin, restart the service.Lost certificate: delete all
repconfig.bin, restart the service.The certificate must live in Certificate store > Current User > Personal > Certificates.
FIPS mode enabled on the AD Sync machine:
ADSyncService.logshows a FIPS validation error. Disable FIPS via the registry (set theEnabledstring to0).

The Web Server URI must be FQDN+Port, not the IP: protocol://[Resource name]:Port/ActiveDirectorySync/.
Connection issues
Test with the Diagnostic client (checks client certificate, server address, credentials), or by opening the Web Service URI in a browser (a valid cert prompt = reachable; page-not-found = unreachable).

Is connected to AD = No: check the DC computer name and credential in
<dc name="ADDomainController" credential="DomainUserLogon" />.Is connected to CC = No: possible TLS issue on the Gallagher Server (see the "Unexpected logon result 403 / 403 Forbidden" troubleshooting).
The Control App's Statistics and Errors tabs show replication counts and per-group errors while troubleshooting.
Retrieving logs (summary)
Stop replication on the client, then stop the FT AD Sync Service on the Web Service server. Set AdsService.exe.config minlevel to "Trace", archive existing AdSyncService*.log from C:\ProgramData\Gallagher\Command Centre, restart the service, reproduce with a single replication group enabled, then collect AdSyncService.log.
🔗 Related
Sync Checklist (v8.40 and below). Legacy setup and XML values.
Sync User Accounts Requirement. Certificate-store access.
Last updated
Was this helpful?
