I am using Dynamics AX 2012 with SQL Server 2012. Suddenly my database stop working, when I try to check through SSMS there is no table or view or procedure displaying in the management studio but I can see all objects using information_schema.tables.
On executing DBCC command following are the results.
Msg 8944, Level 16, State 13, Line 1
Table error: Object ID 54, index ID 1, partition ID 281474980249600, alloc unit ID 281474980249600 (type In-row data), page (1:27214), row 9. Test (ColumnOffsets <= (nextRec - pRec)) failed. Values are 1036 and 97.
Msg 8978, Level 16, State 1, Line 1
Table error: Object ID 54, index ID 1, partition ID 281474980249600, alloc unit ID 281474980249600 (type In-row data). Page (1:11788) is missing a reference from previous page (1:27214). Possible chain linkage problem.
Msg 8944, Level 16, State 13, Line 1
Table error: Object ID 54, index ID 1, partition ID 281474980249600, alloc unit ID 281474980249600 (type In-row data), page (1:27214), row 9. Test (ColumnOffsets <= (nextRec - pRec)) failed. Values are 1036 and 97.
Msg 8928, Level 16, State 1, Line 1
Object ID 54, index ID 1, partition ID 281474980249600, alloc unit ID 281474980249600 (type In-row data): Page (1:27214) could not be processed. See other errors for details.
Msg 8976, Level 16, State 1, Line 1
Table error: Object ID 54, index ID 1, partition ID 281474980249600, alloc unit ID 281474980249600 (type In-row data). Page (1:27214) was not seen in the scan although its parent (1:148999) and previous (1:11208) refer to it. Check any previous errors.
DBCC results for 'sys.sysidxstats'.
5 inconsistency error.
I restored database but same error still exists
Shamas Saeed (if Post helpful please mark as Answer) http://shamas-saeed.blogspot.com