NAS running ok but suddenly stop executing

NaviDevNaviDev Member Posts: 365
Hello Everyone,

We installed NAS a month ago. It was running fine the first 25 days as it was executing a codeunit. But then I found that it suddenly stop executing the codeunit. I have check the Job Queue Entries and it didn't log any for the 26th day onwards. I have check the NAS service, it is running. I have check the event viewer, but didn't find any error.

What could be the cause of this? ](*,)

The NAS service and the database is in the same server.
Navision noob....

Comments

  • kinekine Member Posts: 12,562
    If you are using Automations in your codeunit, it could be a known problem with memory leaks or the automation management. It is good practice to use singleinstance codeuit to have the automation instanciated only once and reuse the same object each time if possible. Else the NAS will stop after some time (depends on how often the automation is initialized)...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.