search cancel

During a User AD Import, errors about processing NSEs are noticed. Invalid resource ref was looked up, corrupt Xml document!

book

Article ID: 164092

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

Customer reported that when trying to do a User AD Import, the NS logs shows errors while trying to process the generated NSEs.

Failed to process NSE.
Invalid resource ref was looked up, corrupt Xml document!

The customer tried to create a new User AD Import and he still got the same errors.
Other AD Import Rules seems to be running without errors.

The following errors are generated:

Error 1:
Failed to process NSE.

Invalid resource ref was looked up, corrupt Xml document!
   [System.Exception @ Altiris.NS]
   at Altiris.NS.ResourceManagement.ResourceImporter.GetResourceGuid(String refrence)
   at Altiris.NS.ResourceManagement.ResourceAssociationImporter.ParseResourceAssociationNode(XmlReader reader, ResourceAssociationDataCollection
resourceAssociationRowDataCollection)
   at Altiris.NS.ResourceManagement.ResourceAssociationImporter.ParseResourceAssociationXml(XmlReader reader)
   at Altiris.NS.ResourceManagement.ResourceAssociationImporter.LoadResourceAssociations(XmlReader reader)
   at Altiris.NS.StandardItems.Messaging.InventoryCaptureItem.SeekAndCheckResources(IList`1 parseStack, XmlReader xmlReader, ResourceImporter& resourceImporter)
   at Altiris.NS.StandardItems.Messaging.InventoryCaptureItem.OnMessageImpl(String message, Boolean useFilename)

Exception logged from:
   at Altiris.NS.StandardItems.Messaging.InventoryCaptureItem.OnMessageImpl(String, Boolean)
   at Altiris.NS.StandardItems.Messaging.InventoryCaptureItem.OnMessageInternal(String, Boolean)
   at Altiris.NS.ClientMessaging.EventQueueDispatcher.DispatchWithinContext(String, Boolean, Altiris.NS.ItemManagement.IItem,
Altiris.NS.ItemManagement.IItemMessaging, Altiris.NS.ClientMessaging.EventQueueDispatcher+MessageHeader)
   at Altiris.NS.ClientMessaging.EventQueueDispatcher.DispatchWithinContext(Int32,String, Boolean, Int64, Int64,
Altiris.NS.ClientMessaging.EventQueueDispatcher+MessageHeader)
   at Altiris.NS.ClientMessaging.EventQueueDispatcher.TryDispatch(Int32, String, Boolean, Int64, Int64)
   at Altiris.NS.ClientMessaging.EventQueueDispatcher.PerformDispatch(Altiris.NS.ClientMessaging.EventQueueDispatcher+DispatchSlot, Boolean&)
   at Altiris.NS.ClientMessaging.EventQueueDispatcher.WorkerDispatchStep(Altiris.NS.ClientMessaging.EventQueueDispatcher+DispatchSlot,
Altiris.Common.Threading.IAutoCallContextSnapshot)
   at Altiris.NS.ClientMessaging.EventQueueDispatcher.DispatchSlotThreadProc(Object)
   at System.Threading.ThreadHelper.ThreadStart(Object)

----------------------------------------------------------------------------
Date: 12/12/2016 10:07:26 AM, Tick Count: 2985411218 (34.13:16:51.2180000),
Process: AeXSvc (7144), Thread ID: 238, Module: AeXSVC.exe
Priority: 1, Source: Altiris.NS.StandardItems.Messaging.InventoryCaptureItem.OnMessageImpl

 

Error 2:
NSE dispatch failed for: id=6696, from: Nefi Garrido, to: 'Directory Connector Inventory Capture Item' (51fed64d-7d2f-44c3-a7eb-a2442c7964db)

Failed to process NSE.
   [Altiris.NS.Exceptions.AeXException @ Altiris.NS.StandardItems]
   at Altiris.NS.StandardItems.Messaging.InventoryCaptureItem.OnMessageImpl(String message, Boolean useFilename)
   at Altiris.NS.StandardItems.Messaging.InventoryCaptureItem.OnMessageInternal(String message, Boolean useFilename)
   at Altiris.NS.ClientMessaging.EventQueueDispatcher.DispatchWithinContext(String message, Boolean useFilename, IItem item, IItemMessaging iim, MessageHeader header)
   at Altiris.NS.ClientMessaging.EventQueueDispatcher.DispatchWithinContext(Int32 eventQueueId, String message, Boolean useFilename, Int64 fileSize, Int64 eventId, MessageHeader header)
   at Altiris.NS.ClientMessaging.EventQueueDispatcher.TryDispatch(Int32 eventQueueId, String message, Boolean useFilename, Int64 fileSize, Int64
eventId)

Invalid resource ref was looked up, corrupt Xml document!
   [System.Exception @ Altiris.NS]
   at Altiris.NS.ResourceManagement.ResourceImporter.GetResourceGuid(String refrence)
   at Altiris.NS.ResourceManagement.ResourceAssociationImporter.ParseResourceAssociationNode(XmlReader reader, ResourceAssociationDataCollection
resourceAssociationRowDataCollection)
   at Altiris.NS.ResourceManagement.ResourceAssociationImporter.ParseResourceAssociationXml(XmlReader reader)
   at Altiris.NS.ResourceManagement.ResourceAssociationImporter.LoadResourceAssociations(XmlReader reader)
   at Altiris.NS.StandardItems.Messaging.InventoryCaptureItem.SeekAndCheckResources(IList`1 parseStack, XmlReader xmlReader, ResourceImporter& resourceImporter)
   at Altiris.NS.StandardItems.Messaging.InventoryCaptureItem.OnMessageImpl(String message, Boolean useFilename)

Exception logged from:
   at Altiris.NS.ClientMessaging.EventQueueDispatcher.TryDispatch(Int32, String, Boolean, Int64, Int64)
   at Altiris.NS.ClientMessaging.EventQueueDispatcher.PerformDispatch(Altiris.NS.ClientMessaging.EventQueueDispatcher+DispatchSlot, Boolean&)
   at Altiris.NS.ClientMessaging.EventQueueDispatcher.WorkerDispatchStep(Altiris.NS.ClientMessaging.EventQueueDispatcher+DispatchSlot,
Altiris.Common.Threading.IAutoCallContextSnapshot)
   at Altiris.NS.ClientMessaging.EventQueueDispatcher.DispatchSlotThreadProc(Object)
   at System.Threading.ThreadHelper.ThreadStart(Object)

----------------------------------------------------------------------------
Date: 12/12/2016 10:07:26 AM, Tick Count: 2985411218 (34.13:16:51.2180000),
Process: AeXSvc (7144), Thread ID: 162, Module: AeXSVC.exe
Priority: 1, Source: Altiris.NS.ClientMessaging.EventQueueDispatcher.TryDispatch

Environment

ITMS 8.0 HF4

Cause

Known issue.

Resolution

A fix available under ITMS 8.1 and ITMS 8.0 HF6 (See DOC9693)

A pointfix is available for customers in ITMS 8.0 HF4. See attached "Pointfix_eTrack4049416_SMP_8.0_HF4.zip"

A pointfix is available for customers in ITMS 8.0 HF5. See attached "Pointfix_eTrack4069201_SMP_8.0_HF5.zip"

A pointfix is available for customers in ITMS 8.0 HF6. See attached "ITMS_8.0_POST_HF6.zip". This pointfix has a fix for edge cases where AD has duplicates on resolution by 'name' r-key.

Attachments

Pointfix_eTrack4069201_SMP_8.0_HF5.zip get_app
Pointfix_eTrack4049416_SMP_8.0_HF4.zip get_app
ITMS_8.0_POST_HF6.zip get_app