Error while exciting initial AD Sync.

Hi Experts,

We are receiving below error whenever we are executing initial AD sync.

<x><w>2018-06-21 10:08:07 +00:00 - Warning: Starting queue \RemoteJobServer.<x>
<p>2018-06-21 10:11:07 +00:00 - \RemoteJobServer - Process step parameter 250e6882-a132-484c-88a4-a55294cf729e:
[Job]
ComponentAssembly=VI.Projector.JobComponent
ComponentClass=VI.Projector.JobComponent.ProjectorComponent
Task=FullProjection
Executiontype=EXTERNAL
[Parameters]
AuthenticationString=Hidden
ConnectionProvider=QBM.AppServer.Client.ServiceClientFactory, QBM.AppServer.Client
ConnectionString=Hidden
ProcID=d3fadf40-ae70-437a-b4a4-87372027ded9
UID_DPRProjectionStartInfo=CCC-8D495813878F5648BE9DED6D72E116FE

<x><e>2018-06-21 10:11:08 +00:00 - \RemoteJobServer - VI.Projector.JobComponent.ProjectorComponent - 250e6882-a132-484c-88a4-a55294cf729e: Errors occurred
[2134003] Error executing synchronization.
[2070000] Application server returned an error.
[2072000] An error occurred.
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.get_Session()
at VI.JobService.JobComponents.DbJobComponent.get_ConnectData()
at VI.JobService.JobComponents.DbJobComponent._ConnectToDatabase()
at VI.DB.Implementation.Connection.Authenticate(IAuthProps props)
at VI.Base.SyncActions.Do[T](Func`1 function)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
---- Start of Inner Exception ----
at VI.DB.Entities.SessionFactoryImpl.<OpenAsync>d__16.MoveNext()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
--- End of stack trace from previous location where exception was thrown ---
at VI.DB.Entities.SessionFactoryImpl.<_OpenAsync>d__19.MoveNext()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
--- End of stack trace from previous location where exception was thrown ---
at VI.DB.Entities.SessionFactoryImpl.<>c__DisplayClass16_0.<<OpenAsync>b__0>d.MoveNext()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
--- End of stack trace from previous location where exception was thrown ---
at QBM.AppServer.Client.ServiceAuthenticator.<AuthenticateAsync>d__6.MoveNext()
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
--- End of stack trace from previous location where exception was thrown ---
at QBM.AppServer.Client.AppServerClient.<PostAsync>d__15`1.MoveNext()
---- Start of Inner Exception ----

<x>

Please provide your guidance?

One IM 8.0

Thanks 

Parents
  • Hi,
    for security reasons the application server will not expose the full error message. You should have a look at the application server log for the real error message.

    Regards,
    Andreas

  • Hi Andreas,

    Below is the error in app logs.

    2018-06-21 10:11:08.3027 ERROR (ObjectLog ) : [810069] Error loading authentication module ComponentAuthenticator.
    [System.IO.FileNotFoundException] Could not load file or assembly 'JobComponent' or one of its dependencies. The system cannot find the file specified.
    System.AggregateException: One or more errors occurred. ---> VI.Base.ViException: Error loading authentication module ComponentAuthenticator. ---> System.IO.FileNotFoundException: Could not load file or assembly 'JobComponent' or one of its dependencies. The system cannot find the file specified.
    at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
    at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
    at System.Activator.CreateInstance(String assemblyString, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark)
    at System.Activator.CreateInstance(String assemblyName, String typeName)
    at System.AppDomain.CreateInstance(String assemblyName, String typeName)
    at System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName)
    at VI.DB.Auth.AuthModuleFactoryImpl.Create(IAuthModuleInfo moduleInfo)
    at VI.DB.Auth.DbAuthenticator.<_GetModuleAsync>d__13.MoveNext()
    --- End of inner exception stack trace ---
    at VI.DB.Auth.DbAuthenticator.<_GetModuleAsync>d__13.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at VI.DB.Auth.DbAuthenticator.<AuthenticateAsync>d__10.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at VI.DB.Entities.SessionFactoryImpl.<>c__DisplayClass16_0.<<OpenAsync>b__0>d.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at VI.DB.Entities.SessionFactoryImpl.<_OpenAsync>d__19.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at VI.DB.Entities.SessionFactoryImpl.<OpenAsync>d__16.MoveNext()
    --- End of inner exception stack trace ---
    at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
    at VI.Base.SyncActions.Do[T](Func`1 function)
    at QBM.AppServer.Base.SessionAuthProvider.Authenticate(IServiceBase authService, IAuthSession session, Authenticate request)
    at ServiceStack.Auth.AuthenticateService.Authenticate(Authenticate request, String provider, IAuthSession session, IAuthProvider oAuthConfig)
    at ServiceStack.Auth.AuthenticateService.Post(Authenticate request)
    at ServiceStack.Host.ServiceRunner`1.Execute(IRequest request, Object instance, TRequest requestDto)
    ---> (Inner Exception #0) VI.Base.ViException: Error loading authentication module ComponentAuthenticator. ---> System.IO.FileNotFoundException: Could not load file or assembly 'JobComponent' or one of its dependencies. The system cannot find the file specified.
    at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
    at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
    at System.Activator.CreateInstance(String assemblyString, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark)
    at System.Activator.CreateInstance(String assemblyName, String typeName)
    at System.AppDomain.CreateInstance(String assemblyName, String typeName)
    at System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName)
    at VI.DB.Auth.AuthModuleFactoryImpl.Create(IAuthModuleInfo moduleInfo)
    at VI.DB.Auth.DbAuthenticator.<_GetModuleAsync>d__13.MoveNext()
    --- End of inner exception stack trace ---
    at VI.DB.Auth.DbAuthenticator.<_GetModuleAsync>d__13.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at VI.DB.Auth.DbAuthenticator.<AuthenticateAsync>d__10.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at VI.DB.Entities.SessionFactoryImpl.<>c__DisplayClass16_0.<<OpenAsync>b__0>d.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at VI.DB.Entities.SessionFactoryImpl.<_OpenAsync>d__19.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at VI.DB.Entities.SessionFactoryImpl.<OpenAsync>d__16.MoveNext()<---
    at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
    at VI.Base.SyncActions.Do[T](Func`1 function)
    at QBM.AppServer.Base.SessionAuthProvider.Authenticate(IServiceBase authService, IAuthSession session, Authenticate request)
    at ServiceStack.Auth.AuthenticateService.Authenticate(Authenticate request, String provider, IAuthSession session, IAuthProvider oAuthConfig)
    at ServiceStack.Auth.AuthenticateService.Post(Authenticate request)
    at ServiceStack.Host.ServiceRunner`1.Execute(IRequest request, Object instance, TRequest requestDto)

  • [System.IO.FileNotFoundException] Could not load file or assembly 'JobComponent' or one of its dependencies. The system cannot find the file specified.
    System.AggregateException: One or more errors occurred. ---> VI.Base.ViException: Error loading authentication module ComponentAuthenticator. ---> System.IO.FileNotFoundException: Could not load file or assembly 'JobComponent' or one of its dependencies. The system cannot find the file specified.

    So there is a dll missing...

    Please check.

  • Hi Geraldine,

    We have checked and all dll are available but still receiving the same error.

    Thanks. 

  • Hi Markus,

    I have checked JobComponent dll and other in job server installation directory.

    do we need to check somewhere else ?

    Thanks.

  • Your Job Service is configured to use an Application Server connection, correct? Can you take a look into the Job History and post the value of the Authentication String? (mask the values for passwords of course if they strings contains any).

Reply Children
  • Hi,

    We are using version 8.0 of One Identity Manager and we have same configuration of Job Server where Job server communicates with database via application server. In this case, we are getting error on application server "Invalid authentication data". We reconfigured the appserverjobrovider setting and provided correct authentication string and connection string and restarted the job service. Still, facing the same issue. Please suggest how we can resolve this issue. Thank you.

  • Hi,

    does the error occur when fetching new jobs or during job execution?
    If the error occurs during fetching new job the configuration of the jobservice is faulty.
    => Check and fix the job service configuration
    If the error occurs during job execution the jobs were either generated with faulty authentication data or your synchronization project uses faulty authentication information.
    => Check authentication parameters of the effected jobs. If faulty fix the origin. Likely a QBMConnectioninfo entry. (Designer: Base Data > Security settings > Connection data) In this case the jobs should be considered as broken beyond repair.
    => Check the used synchronization project and fix faulty authetication information. Jobs should run succesfully when reactivated.