The customer noticed the following error multiple times a day:
Failed to parse resource association xml, association will be skipped.
[Update] type: cec204b6-cb9e-4d33-9ffd-55ddc6
Invalid resource ref was looked up, corrupt Xml document: '1'
Parameter name: refrence
[System.ArgumentException @ Altiris.NS]
at Altiris.NS.ResourceManagement.
at Altiris.NS.ResourceManagement.
Failed to parse resource association xml, association will be skipped.
[Update] type: cec204b6-cb9e-4d33-9ffd-55ddc62e61fd, parent: 00000000-0000-0000-0000-000000000000, child: 00000000-0000-0000-0000-000000000000
Invalid resource ref was looked up, corrupt Xml document: '1'
Parameter name: refrence
[System.ArgumentException @ Altiris.NS]
at Altiris.NS.ResourceManagement.ResourceImporter.GetResourceGuid(String refrence)
at Altiris.NS.ResourceManagement.ResourceAssociationImporter.ParseResourceAssociationNode(XmlReader reader, ResourceAssociationDataCollection resourceAssociationRowDataCollection)
...
-----------------------------------------------------------------------------------------------------
Process: AeXSvc (1304), Thread ID: 300, Module: Altiris.NS.dll
Priority: 2, Source: Altiris.NS.ResourceManagement.ResourceAssociationImporter.ParseResourceAssociationNode
There were two other log entries associated to the same thread before this error:
Entry 1:
Failed to get the resource guid from resource ref '1' for Data Class 'AeX AC Client Connectivity' (8ee53180-630e-438e-ad50-113610d2de13). Data for this resource cannot be processed.
Invalid resource ref was looked up, corrupt Xml document: '1'
Parameter name: refrence
[System.ArgumentException @ Altiris.NS]
at Altiris.NS.ResourceManagement.ResourceImporter.GetResourceGuid(String refrence)
at Altiris.NS.ResourceManagement.DataClassImporter.InventoryDataLoader.ServeData2ResourceNode()
...
------------------------------------------------------------------------------------------------------------------------------------------------------------
Process: AeXSvc (1304), Thread ID: 300, Module: Altiris.NS.dll
Priority: 2, Source: Altiris.NS.ResourceManagement.DataClassImporter+InventoryDataLoader.ServeData2ResourceNode
Entry 2:
Failed to save messaging resource: '<Server Name>' (fad9c368-4752-4818-a2fa-465cd4739fd8 / 2c3cb3bb-fee9-48df-804f-90856198b600)
Attempt to save messaging resource fad9c368-4752-4818-a2fa-465cd4739fd8 has been blocked by the Host Resource Blacklist.
[Altiris.NS.TaskManagement.TaskStoppedException @ Altiris.NS]
at Altiris.NS.ResourceManagement.MessagingResource.SaveImpl(Boolean allowUpdate)
at Altiris.Database.DatabaseContext`1.RetryAction(Int32 retries, Boolean transacted, Getter`1 getContext, Action`1 action, Action`1 retry, DeadlockRetryArgs& re, Exception& exception, Boolean inTransaction)
at Altiris.Database.DatabaseContext`1.PerformWithDeadlockRetryHelper(Int32 retries, Boolean inTransaction, Getter`1 getContext, Action`1 action, Action`1 retry, Boolean transacted)
at Altiris.Database.DatabaseContext`1.PerformWithDeadlockRetry(Int32 retries, Boolean startNewTransaction, Nullable`1 isolationLevel, Boolean independentContext, Action`1 action, Action`1 retry)
at Altiris.NS.ResourceManagement.MessagingResource.Save()
at Altiris.NS.ResourceManagement.ResourceImport.MessagingResourceResolver.MrGroup.Save(ResourceImporter imp, IMeasureOperation me, FetchCounter counter, TimeoutCheck report)
...
------------------------------------------------------------------------------------------------------------------------------------------------------------
Process: AeXSvc (1304), Thread ID: 252, Module: Altiris.NS.dll
Priority: 1, Source: ResourceImporter
ITMS 8.1 RU7
In this example, all the errors were right after "Failed to save messaging resource: 'MA-W10-06' " and "Failed to get the resource guid from resource ref '1' for Data Class 'AeX AC Client Connectivity' ". Always about the same machine.
The customer mentioned that this machine should not be reporting to this SMP. This machine had bad data in the database based on incomplete entries.
We deleted the machine from the Console (select the machine under Manage>Computers then right-click>Delete) and deleted its entry from the AgentBlacklist table as well.