Dynamics NAV 2017 Application Server

lzr
Member Posts: 264
I am currently doing an upgrade from NAV 2009 to NAV 2017 and the last step is to attach a NAV Application Server to my database and make it run the old Job Queue Entries. This was really simple before but I can't find any document on how to configure it for NAV 2017. Codeunit 450 which was used for NAV 2016 is now different and I can't get my NAS to start.
I can get the tasks started with task scheduler but then job queue entries will run with the incorrect user who might not have sufficient permissions.
Really grateful for any comments around this.
I can get the tasks started with task scheduler but then job queue entries will run with the incorrect user who might not have sufficient permissions.
Really grateful for any comments around this.
Navision developer
0
Best Answer
Answers
-
Thanks for clarifying that! Don't understand why they left the NAS section in the instance window, really confusing.
Are you sure it is the service account which is running the jobs and not the userid which can be seen in Job Queue Entry? Found out I can easily change userid in the job queue entry but just modifying the jobs.Navision developer0 -
You have to test. Because task scheduler can run different ways. You can create task directly without using job queue, but task scheduler also runs the job queue, or it creates a task from the job queue entry. So job queue is not the "queue" anymore.Follow me on my blog juhl.blog0
-
Wrote a few lines on debugging.
https://juhl.blog/2017/07/15/debugging-with-task-scheduler/
Also check out https://1clickfactory.com/blog/how-to-use-new-task-scheduler-in-nav-2017/Follow me on my blog juhl.blog0 -
I got it all working now. Have to think in a different way I guess. It's too bad the old NAS can't be used anymore though, gives a lot more control over what is happening. For example if you want a certain user executing on a certain service/server.
Thanks for your help!Navision developer0 -
What about when you have several companies in the same database which all use different regional settings? Is it possible to control which company the tasks are running by creating a new instance with the "Services default company" set per instance? Otherwise this might be a problem where dates are screwed up on all automated reports.Navision developer0
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