Scenario:
NAS is used for running reports daily (import/export data). Sometimes (haven't found a pattern yet), NAS stops working (when we check status it is still showed as in Running state, but scheduled tasks are not executed anymore).
- I can login to the sever with the same username which is running NAS and complete all scheduled tasks manually within Navision (therefore, it is not related to permissions).
- If I restart NAS, scheduled tasks are executed successfully and NAS is working fine for several days until it stops again.
Have anyone had similar issues?
In Event Viewer, Application log I see several warnings for NAS pointing to breakpoints at reports which are not used in job queue. Can these breakpoints stop NAS from working even when they are not used within Job Queue?
Any ideas would be welcomed.
0
Comments
32 or 64 bit?
SQL or Native?
NAV Versions?
If SQL,what you see as status for the NAS session when you look at the SQL sessions list?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
- Windows Server 2003
- 32bit
- SQL (2005)
- NAV 5.0
- At the moment status is sleeping (as I have restarted the NAS). And until it stops next time, I am not sure what status it had before.
Dynamics NAV Enthusiast
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Are you using "Navision Timer 1.0" automation ?
If you're using Navision Timer automation then it happens sometimes when you are just in the middle of ::Timer event (or whatever code called from ::Timer), and another event is fired.
It seems that NAV C/AL is not reentrant.
Double check if just a the beginning of your ::Timer event handler you're calling: Regards,
Slawek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
We are running into similiar problems, runnning with Nav v360b on SQL2000 in a citrix/VM environment.
We have Nas calling one codeunit, with upto 3 timer events running different functions.
Just wondered if the suggestions worked?
Regards...
Job Queue just stops..
Thomas
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Stopped 3-4 times a week.
We upgraded to 5.00sp1 and had no problems since.
we have the same problem here with 4 NAS servers running on a virtual 32bit box, and up to 7 timers in the NAS handler codeunit. NAV is a 2009SP1, SQL2008 cluster x64. What seems to work is to lock the timer events against each other:
with best regards
Jens