
Hi , I 've problem with nas service debuging this is my Nas Service settings
I set breakpoint in my code unit which is run from job Job Queue Entrie then "Debug Next" in Session List but not stop on breakpoint, of curse my code unit done his job. I try in another way , put MESSAGE('i'm here') or ERROR ('Thi's my error') in code unit but message not appears so I can't see Nas session on session list , I try many ways, maybe is some trick which I missed ???
*This post is locked for comments
I have the same question (0)Hi,
Please try as following:
- Run the debugger and then run you codeunit if it is working without Job Queue.
- If so, then please use IF GUIALLOWED THEN MESSAGE('abc') or ERROR('abc'). If you are running a job using job queue and you are displaying any message without using GUIALLOWED then the job will not run.
- If it is also fine then, make sure that you have added the startup codeunit as 450 in the instance configuration using NAV Administration.
- When the job run, go to event viewer to see if an error occures.
Let me know in either case. Thanks