'Could not load file or assembly 'SourceCode.Sync' error when performing a sync

  • 16 February 2021
  • 0 replies
  • 65 views

Userlevel 1
Badge +8

Issue

On a 5.3 environment, performing a sync using the Sync Service Operation SmartObject's Start Sync method against the AAD provider throws an error.

 

Error Code

This is the error shown in the HostServer logs:

Execute 'RunSyncJob' Error : Could not load file or assembly 'SourceCode.Sync, Version=4.2.9.0, Culture=neutral, PublicKeyToken=c323d472a7df518e' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.

 

Resolution

Check the version of SourceCode.Sync.dll assembly in the following location on the app server: 

  • {K2 Install Folder}HostServerBin


If there is a discrepancy, please replace the SourceCode.Sync.dll assembly with the correct version 4.2.9.0 as indicated in the error message.

 

Additional Information

If a re-configure was ran via the K2 Setup Manager at some point prior to seeing the issue, please re-apply the same CU/FP on the environment which should then update the SourceCode.Sync.dll assembly to the correct version as well. 

 

 


0 replies

Be the first to reply!

Reply