Hi All, we have an issue when opening POS in one store,
the error in event viewer,
LSRetailPosis.POS.Program: System.Data.SqlClient.SqlException (0x80131904): Possible schema corruption. Run DBCC CHECKCATALOG.
Cannot continue the execution because the session is in the kill state.
A severe error occurred on the current command. The results, if any, should be discarded.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
....
and when we apply DBCC CHECKCATALOG in SQL Server, this following error shows, (this is part of the error as it is really LONG)
Msg 3857, Level 16, State 1, Line 1
The attribute (internal_type=NULL,parent_id=NULL,parent_minor_id=NULL) is required but is missing for row (object_id=278460962) in sys.internal_tables.
Msg 3853, Level 16, State 1, Line 1
Attribute (object_id=358461247) of row (object_id=358461247,column_id=1) in sys.columns does not have a matching row (object_id=358461247) in sys.objects.
Msg 3853, Level 16, State 1, Line 1
as in AX the Download jobs are working except Jobs 1070&1060
this is the message error in download sessions for Jobs 1070&1060
Microsoft.Dynamics.Retail.SynchClient.Core.GetColumnsForTableInDatabaseException: Error occurred when trying to find column names for table [AX].[DIRPARTYTABLE] in database FD4-AXOnestopDB on SQL server instance C6833\SQLEXPRESS. Query: SELECT COLUMN_NAME AS COLUMN_NAME
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_SCHEMA = @schemaName
AND TABLE_NAME = @tableName
ORDER BY ORDINAL_POSITION; ---> System.Data.SqlClient.SqlException: Possible schema corruption. Run DBCC CHECKCATALOG.
Cannot continue the execution because the session is in the kill state.
A severe error occurred on the current command. The results, if any, should be discarded.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at System.Data.SqlClient.SqlDataReader.TryReadInternal(Boolean setTimeout, Boolean& more)
at System.Data.SqlClient.SqlDataReader.Read()
at Microsoft.Dynamics.Retail.SynchClient.Core.Utility.GetColumnsForTableInDatabase(SqlConnection connection, String tableNameWithSchema)
--- End of inner exception stack trace ---
at Microsoft.Dynamics.Retail.SynchClient.Core.Utility.GetColumnsForTableInDatabase(SqlConnection connection, String tableNameWithSchema)
at Microsoft.Dynamics.Retail.SynchClient.Core.DownloadAgent.ApplySessionFileToClientDatabase(SessionManager sessionMgr, String fileName)
thanks in advanced,