SQL Errors Question

gadzilla1
Member Posts: 316
Hello all,
I have the following error messages (I changed my company name reference to Company):
Error: The Gen. Journal Line table has inconsistent SumIndexField values: Key fields: Journal Template Name,Journal Batch Name,Line No. SumIndexField table: Company.dbo.Live Company$81$0 Contact your system manager.
Error: The Reservation Entry table has inconsistent SumIndexField values: Key fields: Item No.,Positive,Variant Code,Location Code,Serial No.,Lot/Trading Unit No.,Entry No. SumIndexField table: Company.dbo.Live Company$337$3 Contact your system manager.
Has anyone else out there had similar errors, and if so, what have you done to alleviate? I'm 'OK' with SQL, but not so much as an admin.
Any help would be greatly appreciated! Thanks - gad1
I have the following error messages (I changed my company name reference to Company):
Error: The Gen. Journal Line table has inconsistent SumIndexField values: Key fields: Journal Template Name,Journal Batch Name,Line No. SumIndexField table: Company.dbo.Live Company$81$0 Contact your system manager.
Error: The Reservation Entry table has inconsistent SumIndexField values: Key fields: Item No.,Positive,Variant Code,Location Code,Serial No.,Lot/Trading Unit No.,Entry No. SumIndexField table: Company.dbo.Live Company$337$3 Contact your system manager.
Has anyone else out there had similar errors, and if so, what have you done to alleviate? I'm 'OK' with SQL, but not so much as an admin.
Any help would be greatly appreciated! Thanks - gad1
0
Comments
-
Try to Rebuild Sum Index
File -> database -> information -> tables
Select all tables and click optimize0 -
Nuno Maia,
Thank you - It's my understanding that these errors are re-occurring. Will your suggestion stop this?
Also, I've located your suggested path:
'File -> database -> information -> tables'
How often is this to be run? Thanks in advance.
gad10 -
There is really only one way that this can happen as far as I know, and that is modifying data directly on SQL Server, either in the tables or in the SIFT tables.
One other way to fix this would be to first save the table as an fob file, then to turn off all SIFT, then import the fob back in. This will make the system rebuild the SIFT as well.0 -
This optimize button what it does is rebuilding shift indexes and also rebuild’s table indexes. If you don’t rebuild indexes with SQL than you should use optimize button to optimize database. It’s difficult to define correct plan maintenance to your database because it depends a lot on your database.
Has DenSter said this normally happens when is modified Navision data directly in SQL0 -
Den Ster,
In regards to the following suggestion:
"There is really only one way that this can happen as far as I know, and that is modifying data directly on SQL Server, either in the tables or in the SIFT tables.
One other way to fix this would be to first save the table as an fob file, then to turn off all SIFT, then import the fob back in. This will make the system rebuild the SIFT as well.
"
Our systems admin did what you suggested, but these errors re-occur every few weeks. We run SQL 2000 Enterprise and Navision 4.01, the SQL database has adequate hard disk space to grow. We've checked the event logs for errors (there were none), ran HP diagnostic checks (no errors)
How is it possible to UNKNOWINGLY "modifying data directly on SQL Server". I say unknowingly because we have a very small IT shop with no inside SQL admin. We just haven't touched anything. Can a direct modify of SQL occur through Navision utilities?
If you don't have any ideas, no worries at all. we're at a loss as to why these errors keep popping up.
Thanks for all of your help - gad10
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K 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
- 320 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