Hi All,
I have created a sample codeunit Test which prints a message.
I have setup a job queue for this codeunit and scheduled it for execution at every 2min interval.
In Classic Client.the codeunit gets scheduled at the required time and prints the message.
However when i observe the same in Role Tailored Client i do not see any messages getting printed.
I am not sure what extra i have to setup in order to see this message from RTC?
Is it possible to use job queue functionality in RTC?
Regards,
Hemant
Regards,
Hemant
MCTS (MB7-841 : NAV 2009 C/SIDE Solution Development)
0
Answers
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Hemant
MCTS (MB7-841 : NAV 2009 C/SIDE Solution Development)
If NAS is handling the job queue then the message is goign to end up in the Event Log on the machine NAS is installed on.
regards
Ian
Ian
When i open the Job Queue Log Entries page in RTC, i am unable to see the log entry.
Any idea how to schedule the job queue in RTC?
Hemant
MCTS (MB7-841 : NAV 2009 C/SIDE Solution Development)
The Job Queue Log Entries will be a table in NAV, somehow you need to write your code so that on an error it updates this table.
So a question then, you original said When the message prints in Classic where does it print to, is it just poping a message box on screen or is it also writting to the log?
Ian
Ian
I do not see any entry in the event log.
Hemant
MCTS (MB7-841 : NAV 2009 C/SIDE Solution Development)
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
I have even tried running the service using NAS MMC. But still i face the same problem.
Hemant
MCTS (MB7-841 : NAV 2009 C/SIDE Solution Development)
Again Please read the eventlog. And paste what NAS writes to the event log in here.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
This is my eventlog
This is the warning message
Let me know how to connect NAS to SQL Server.
Hemant
MCTS (MB7-841 : NAV 2009 C/SIDE Solution Development)
Hemant
MCTS (MB7-841 : NAV 2009 C/SIDE Solution Development)
NAS is basically a regular NAV client that runs as a Windows service. As such, it needs to be set up with a Windows login, which you can see under the 'log on' tab. In there, you will need to specify an existing Windows user that has been set up in NAV with permissions for the task that NAS executes.
Browse your product CD, and look for a folder called 'doc'. In there is a PDF called 'w1w1atas.pdf', which will tell you everything there is to know about how to set up NAS.
RIS Plus, LLC
I do have setup <domainname>\<Windows user> in my Tools > Security > Windows Login in NAV 2009 Classic Client and have also assigned the role as SUPER.
Hemant
MCTS (MB7-841 : NAV 2009 C/SIDE Solution Development)
Did you find that document I told you about? Did you read it? It has all the information about how to set up a user for NAS.
RIS Plus, LLC
RIS Plus, LLC
I changed log on account for the NAS service from "NT Authority\Network Service" to current Windows login account as "<domain>\<user>" and also defined the same user under Windows login in NAV database with "SUPER" role.
I restarted my machine and the NAS service started automatically.
I can now see the jobqueue-Test getting executed at every 2min interval and that the messages are printed in the event log.
The NAS service is basically a Windows service so any jobqueue that is scheduled for execution will execute automatically without the need for running either Classic Client or Role Tailored Client.
Thanks a lot to all concerned.
Yes i read it twice to understand NAS fundamentals.
Thank you very much.
Regards,
Hemant
Hemant
MCTS (MB7-841 : NAV 2009 C/SIDE Solution Development)
Below are the pics of the message from event log
Once again thanks to all concerned.
Hemant
MCTS (MB7-841 : NAV 2009 C/SIDE Solution Development)
Feels good to see your own message come into the event log doesn't it
RIS Plus, LLC