Hi All,
From last 2 months Job Queue are working fine and suddenly last 2 days ago its stopped working and not giving any error in log, then i have found below message in event viewer, please help how to restart job queue again.
The description for Event ID 701 from source MicrosoftDynamicsNavServer$BC200 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
Server instance: BC200
Category: TaskScheduling
ClientSessionId: 00000000-0000-0000-0000-000000000000
ClientActivityId: 363cef47-0259-4b7b-82a3-1d244c940d71
ServerSessionUniqueId: 14509c97-149b-46c8-a859-fb9a0208f2bf
ServerActivityId: 155ce5ff-cc01-42c9-a24b-3bdf56fecac0
EventTime: 11/30/2022 02:27:36
Message (AuthenticationException): TaskId=93fcb896-1937-4b66-bd53-5ddb7f2a69ec, Type=Codeunit, Attempt=3, Run main codeunit=455. Encountered an error that can be retried.
ParentException: AuthenticationException
ExceptionStackTrace:
at System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)
at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
at Microsoft.Dynamics.Nav.Runtime.NavUserADHelper.FindRootAndCurrentDomains()
at Microsoft.Dynamics.Nav.Runtime.NavUser.JoinUserGroupsWith(NavDiagnostics diagnostics, IdentityReferenceCollection listOfGroups, ContextType typeOfGroups)
at Microsoft.Dynamics.Nav.Runtime.NavUser.TryRefreshUserWindowsGroups(NavTenant tenant, ContextType contextType)
at Microsoft.Dynamics.Nav.Runtime.NavUser.TryUpdateUserGroupsFromTenantCache(NavTenant tenant)
at Microsoft.Dynamics.Nav.Runtime.NavUserAuthentication.AuthenticateTaskSchedulerCredential()
at Microsoft.Dynamics.Nav.Runtime.NavUserAuthentication.Authenticate()
at Microsoft.Dynamics.Nav.Runtime.NavUserAuthentication..ctor(NavTenant tenant, NavClientCredentialType authenticationType, UserType userType, Object token, String userName, String authenticationKey, AuthorizationCodeContext authorizationCodeContext, String navAppId, Func`1 getWindowsIdentity, INavLicenseServiceClient licenseClient)
at Microsoft.Dynamics.Nav.Runtime.NavUserAuthentication.<>c__DisplayClass114_0.<CreateImpersonationAuthentication>b__0(Object securityToken)
at Microsoft.Dynamics.Nav.Runtime.NavUserAuthenticationCache.GetNavUserAuthentication(Object token, String navAppId, NavDiagnostics diagnostics, Func`2 authenticationFunc, AuthorizationCodeContext authorizationCodeContext, NavClientCredentialType authenticationType)
at Microsoft.Dynamics.Nav.Runtime.NavUserAuthentication.CreateImpersonationAuthentication(NavTenant tenant, Guid userId, String userName, String navAppId, NavClientCredentialType credentialType)
at Microsoft.Dynamics.Nav.Runtime.NavTenant.Microsoft.Dynamics.Nav.Runtime.ITenantSessionHandler.CreateTaskSchedulerSession(Guid userGuid, String userName, TimeZoneInfo timeZone, String navAppId, NavCancellationToken token)
at Microsoft.Dynamics.Nav.Runtime.TaskRunnerCodeUnit.TaskSpecificInternalRun()
at Microsoft.Dynamics.Nav.Runtime.TaskRunner.InternalRun(Action continuation, NavDiagnosticStateFactory navDiagnosticStateFactory)
InnerException:
RootException: COMException
ExceptionStackTrace:
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)
CallerStackTrace:
at Microsoft.Dynamics.Nav.Runtime.TaskRunner.InternalRun(Action continuation, NavDiagnosticStateFactory navDiagnosticStateFactory)
at Microsoft.Dynamics.Nav.Runtime.NavTaskFactory.<>c__DisplayClass1_0.<RunTask>b__0()
at System.Threading.Tasks.Task.Execute()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
ProcessId: 1468
Tag: 0000FDW
ThreadId: 90
CounterInformation:
CustomParameters: {
}
GatewayCorrelationId:
The message resource is present but the message was not found in the message table
hi
see this
I don't know if it will be useful to you
community.dynamics.com/.../how-to-resolve-this-issue
DAniele
Yes user have super permission
Hello,
Did the user that owns the job queue change?
Thank you.
Hi Nitin,
I am running with super user and till last 2 days ago it was running fine.
Hi,
It seems that permission issue, can you start your job queue with Admin account. and check again.
Thanks.
Sohail Ahmed
858
YUN ZHU
773
Super User 2025 Season 1
Mansi Soni
569