Error in SAP synchronization job

Hi All,

I noticed some behaviour in out PROD environment for SAP synchronization.

In our Prod we trigger 3 SAP synchronization (DPR_DPRProjectionStartInfo_Run_Synchronization)

Sometime we get frozen job with error as below. Do you have any idea what is wrong. One identity version is 8.1.3

ErrorMessages (2022-02-01 23:55:45.910) [2134003] Error executing synchronization.
[2134004] The synchronization workflow (CCC-C63CC053BCFF7648ACC63378ABDCA1EF) could not be loaded!
[2134007] Could not load synchronization project (CCC-09359462A23ECA49B5BB8807BC212481)!
[System.Reflection.TargetInvocationException] Exception has been thrown by the target of an invocation.
[System.Reflection.TargetInvocationException] Exception has been thrown by the target of an invocation.
[System.IO.FileLoadException] Could not load file or assembly 'VI.Projector.SAP.Data' or one of its dependencies. Access is denied.
at StdioProcessor.StdioProcessor._Execute(Job job)
at VI.Projector.JobComponent.ProjectorComponent.Activate(String task)
at VI.Projector.JobComponent.ProjectorComponent._FullProjection()
---- Start of Inner Exception ----
at VI.Projector.JobComponent.ProjectorComponent._FullProjection()
at VI.Projector.JobComponent.ProjectorComponent._GetProjectionConfiguration(String uidConfig, IProjectorShell& ownerShell)
---- Start of Inner Exception ----
at VI.Projector.JobComponent.ProjectorComponent._GetProjectionConfiguration(String uidConfig, IProjectorShell& ownerShell)
at VI.Projector.JobComponent.ProjectorComponent.GetProjectorShell(String uidShell, Boolean withoutCaching)
---- Start of Inner Exception ----
at VI.Projector.JobComponent.ProjectorComponent.GetProjectorShell(String uidShell, Boolean withoutCaching)
at VI.Projector.Serialization.ProjectorReader.Read(ProjectorReaderReadArgs args)
at VI.Projector.Serialization.ProjectorReader.GetElementByReference(Object reference)
at VI.Projector.Database.Serialization.DatabaseReader.OnCreateElement(Object reference)
at VI.Projector.Serialization.ProjectorReader.CreateInstance(String typeAlias)
at VI.Projector.Serialization.ProjectorReader.CreateInstance(IProjectorReader reader, Type type)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
---- Start of Inner Exception ----
at VI.Projector.ProjectorShell..ctor(IProjectorReader reader)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at VI.Projector.Database.Serialization.DatabaseReader.<OnReadCollection>d__3`1.MoveNext()
at VI.Projector.Serialization.ProjectorReader.GetElementByReference(Object reference)
at VI.Projector.Database.Serialization.DatabaseReader.OnCreateElement(Object reference)
at VI.Projector.Serialization.ProjectorReader.CreateInstance(String typeAlias)
at VI.Projector.Serialization.ProjectorReader.CreateInstance(IProjectorReader reader, Type type)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
---- Start of Inner Exception ----
at VI.Projector.Connection.SystemConnection..ctor(IProjectorReader reader)
at VI.Projector.Serialization.ProjectorReader.OnReadTypeReference[T](String name, ProjectorReaderReadArgs args)
at VI.Base.TypeLoader.GetType(String typeDescription, Boolean throwOnError)
at System.Type.GetType(String typeName, Boolean throwOnError)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)

Thank you in advance.

Kind Regards,

Dnyandev

Parents
  • Hello Dnyandev,

    are the 3 syncs running at the same time on the same JobServer?
    I interpret the error message as that at this time the file VI.Projector.SAP.Data is already accessed and therefore cannot be accessed again. So the question would be, what is different at these times than at others? What else is going on at this time - especially in the communication with SAP?

    Hope this helps a little

  • Hello,

    Yes all 3 synchronization projects are started at same time.

    This issue is not happenning regularly, till now we got frozen job only 2 times.

    There is no other process which interact with SAP apart from SAP synchronization.

Reply Children
No Data