NAV TaskScheduling Error "The specified directory service attribute or value does not exist."

nbartie
Member Posts: 2
Hi All,
Really stuck with this so hoping someone has a solution.
Problem: The TaskScheduler does not run a scheduled Job Queue Entry with a 'User ID' other than the Service Domain Account. It changes the Job Queue Entry 'Scheduled' column to 'No'(in Red) from 'Yes' and does not create a Job Queue Log Entry. You have to view the Event Viewer log to see the cause of the error (Event Viewer -> Applications and Service Logs' -> Microsoft -> DynamicsNAV -> Common -> Admin).
Error Detail:
Server instance: NAVServices
Category: TaskScheduling
ClientSessionId: {00000000-0000-0000-0000-000000000000}
ClientActivityId: {00000000-0000-0000-0000-000000000000}
ServerSessionUniqueId: {00000000-0000-0000-0000-000000000000}
ServerActivityId: {00000000-0000-0000-0000-000000000000}
EventTime: 2018-04-18T11:05:00.828986100Z
Message <ii>(COMException): <ii>The specified directory service attribute or value does not exist.
System Information:
Observations:
Logging into NAV as the Domain Service account user and resetting the Job Queue Entry will set the 'User ID' on the Job Queue entry as the logged in User. The TaskScheduler will run the scheduled job without failure thereafter. If you then log in as a user (domain) and reset, the job fails again. My best guesses here are:
Really stuck with this so hoping someone has a solution.
Problem: The TaskScheduler does not run a scheduled Job Queue Entry with a 'User ID' other than the Service Domain Account. It changes the Job Queue Entry 'Scheduled' column to 'No'(in Red) from 'Yes' and does not create a Job Queue Log Entry. You have to view the Event Viewer log to see the cause of the error (Event Viewer -> Applications and Service Logs' -> Microsoft -> DynamicsNAV -> Common -> Admin).
Error Detail:
Server instance: NAVServices
Category: TaskScheduling
ClientSessionId: {00000000-0000-0000-0000-000000000000}
ClientActivityId: {00000000-0000-0000-0000-000000000000}
ServerSessionUniqueId: {00000000-0000-0000-0000-000000000000}
ServerActivityId: {00000000-0000-0000-0000-000000000000}
EventTime: 2018-04-18T11:05:00.828986100Z
Message <ii>(COMException): <ii>The specified directory service attribute or value does not exist.
System Information:
- NAV GB 2018.CU3
- NAV Server is running with Domain Account
- We followed all steps to provision the domain account. (here)
- Windows Server 2012 R2
- There are multiple domains on the network
Observations:
Logging into NAV as the Domain Service account user and resetting the Job Queue Entry will set the 'User ID' on the Job Queue entry as the logged in User. The TaskScheduler will run the scheduled job without failure thereafter. If you then log in as a user (domain) and reset, the job fails again. My best guesses here are:
- Issue lies with Domain Service account setup
- Issue lies with Domain Service account impersonating the 'User ID' on the job queue task.
- Issue lies in the Domain itself or perhaps having multiple domains
- Issue is a NAV service issue requiring a Cumulative Update, see this article.
- We were on NAV2017.GB.CU10 and had the same issue, so thought upgrading to NAV2018 might help.
1
Answers
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions