Solution - ArcFM Mobile - Sync Service Fails to Start

Version 4

    Behavior:

     

    The following error is seen in the logs once the Sync Service starts:

    ERROR SE.Mobile.Sync.IntegrationService.Security.CacheAsideTenantInfoProvider [(null)] - System.ArgumentNullException: Value cannot be null.

    Parameter name: source

       at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)

       at SE.Mobile.Sync.IntegrationService.Security.CacheAsideTenantInfoProvider.<GetTenantInfoFromStorageAsync>d__7.MoveNext()

    --- End of stack trace from previous location where exception was thrown ---

       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

       at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()

       at SE.Mobile.Sync.IntegrationService.Security.CacheAsideTenantInfoProvider.<CacheAsideTenantInfo>d__6.MoveNext()

     

     

    Problem:

     

    This error is thrown when a version mismatch is identified in the GAC (Global Assembly Cache) for the newtonsoft.dll. This mismatch is only seen if the Sync Service is installed on the same machine as ArcFM Desktop 10.2.1b build 1854.

     

     

    Solution:

     

    Install 10.2.1b SP1 to resolve the problem. This will install the correct newtonsoft.dll in the GAC and match what the Sync Service requires.