Job Queue NAS Navision Application Server
abz_tecman
Member Posts: 27
Dynamics NAV Classic 2009 SP1 Client with 5.0 Objects
We have a job queue (Navision Application Server) that runs in the evening (it takes 40 minutes normally) and as part of this routine it accesses the item table, sales price table in which it creates a HTML file and from this HTML file it generates this CSV file. After the 20MB CSV file generation is completed the 60MB+ HTML file is deleted.
When run manually it runs fine without errors.
Note: After the job queue is restarted it runs fine for the first few nights and then it eventually fails with the following error:
Another user has changed the definition of the Item table after the activity was started.
Start your activity again.
I've tried compiling the item table (and restarting NAS and getting everyone to log out including other services) but the error still keeps coming back.
Another note: this has started happening since a database migration to a new SQL server and the error seems to occur within the SQL Server backup routine window where a index rebuild takes place initially as part of this maintenance plan. We are going to try delaying the plan to run slightly later but still not sure why it would work some evenings and some evenings not.
Can anyone think of any other reason why this might fail repeatedly?
Thank You in advance.
We have a job queue (Navision Application Server) that runs in the evening (it takes 40 minutes normally) and as part of this routine it accesses the item table, sales price table in which it creates a HTML file and from this HTML file it generates this CSV file. After the 20MB CSV file generation is completed the 60MB+ HTML file is deleted.
When run manually it runs fine without errors.
Note: After the job queue is restarted it runs fine for the first few nights and then it eventually fails with the following error:
Another user has changed the definition of the Item table after the activity was started.
Start your activity again.
I've tried compiling the item table (and restarting NAS and getting everyone to log out including other services) but the error still keeps coming back.
Another note: this has started happening since a database migration to a new SQL server and the error seems to occur within the SQL Server backup routine window where a index rebuild takes place initially as part of this maintenance plan. We are going to try delaying the plan to run slightly later but still not sure why it would work some evenings and some evenings not.
Can anyone think of any other reason why this might fail repeatedly?
Thank You in advance.
Abz
0
Comments
-
Hi,
Do you have Change Log Entry been activated for Item Master? Because in some scenarios while you have change log activated and do make any changes within the session it gives this error.0 -
The reason could be what you already discovered:
Sometimes SQL Server jobs could cause that issue (e.g. like here http://www.mibuso.com/forum/viewtopic.php?f=32&t=57017). As far as I know at the moment there is no solution (e.g. Hotfix) for this behavior. I searched on this issue quite a long time and even talked to some guys from MS. Like you also said, I really don't understand why the system only sometimes thinks that a certain table has been changed. And that's what it makes so hard to identify. I mean, if it would behave like this everytime the SQL job runs then you can say it's clearly related to that job. But since it's only sometimes there must be some additional internal stuff that has an impact on that job as well.abz_tecman wrote:Another note: this has started happening since a database migration to a new SQL server and the error seems to occur within the SQL Server backup routine window where a index rebuild takes place initially as part of this maintenance plan. We are going to try delaying the plan to run slightly later but still not sure why it would work some evenings and some evenings not."Money is likewise the greatest chance and the greatest scourge of mankind."0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 324 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions