I'm trying to get 2 Job Queue entries to run from Midnight to 11:00 p.m. every day. They are set as recurring entries and are executing a codeunit. Every night at midnight they fail with the following error found in Event Viewer:
The Job Queue Entry table cannot be changed because it is locked by another user.
Every morning I'll restart NAS and they execute immediately and work fine until midnight when they get the error again. Any ideas?
-Jon
0
Comments
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Come in in the morning and it should be blocked. Drill down into the sessions from File --> Database --> Information and check the blocking ID. Or run an SP_WHO query in SQL Server Management Studio.
From there you can trace back to the user / service that is blocking the NAS.
I don't have any Job Queue Processes set to run at this time but it looks to be checking the Job Queue Process record and updating it.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
http://mibuso.com/blogs/davidmachanick/
Can you elaborate on this? What do you mean by "Database Replication"? No such thing. Do you mean a backup and restore to another server?
What I meant is how is it being replicated?
e.g. you can detach DB, copy DB files, attach DB back etc... and during that the DB is not accessible...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.