Since a short time I get in our SCCM 2007 Infrastructur in the Modul SMS_STATE_SYSTEM repeating Errors like this:
Error Milestone <SITECODE> 20.11.2008 18:06:51 <SERVERNAME> SMS_STATE_SYSTEM 6105 The SMS State System message file processing processed one or more files that contained errors or invalid data. Review the statesys.log file for further details.
Error Milestone <SITECODE> 20.11.2008 18:06:37 <SERVERNAME> SMS_STATE_SYSTEM 6104 The SMS State System message file processing could not process file 'vy76hiu2.SMW' and moved it to the corrupt directory. Review the statesys.log file for further details.
The STATESYS.LOG File shows the following:
SQL MESSAGE: spProcessStateReport - Error: The key for machine <AGENTNAME> (GUID:EE344EFE-A80C-483E-BAFB-E3E80E305154) did not match the one in the database.
CMessageProcessor - Non-fatal error while processing fni655cw.SMW
Is there any communication Problem between Agent and Server?
The log file states that a specific computer's key is not in the database. Maybe the client record was aged out, or deleted manually. Thus, since there is no valid key for that client, the state system is not accepting the client's data.
What I'd do is to go to the client in question, and initiate a Discovery Data Collection Cycle, and see if that fixes the issue. I'd then go to the All Systems collection, update the collection membership, wait a minute or so, then refresh. I'd then look at the properties of this system. I'd then find the AgentName entry that says Heartbeat Discovery, and then use that same value (such as AgentName) to verify the data is current - you'd use AgentTime if AgentName was  for Heartbeat Discovery.
We are managing SCCM 2007 R3 environment.
I am getting the same kind of error in our environment in SCCM console -> System status options, the error is below,
Message ID : 6104,
The SMS State System message file processing could not process file 'qs4314w4.SMW' and moved it to the corrupt directory. Review the statesys.log file for further details.
For the same time, the state system messages are,
Thread "State Message Processing Thread #0" id:32632 started
SQL MESSAGE: spProcessStateReport - Error: The key for machine xxxxxxx (GUID:74DED901-A0A6-421B-ADB3-xxxxxxxxxxxx) did not match the one in the database.
CMessageProcessor - Non-fatal error while processing qs4314w4.SMW
Please suggest me, how to handle this. Thanks in Advance
Best Regards, Sukandha