At some point, usually after an upgrade, or the installation of a HF release, an error similar to the following started being thrown in the SMP logs every time a CEM client submitted an NSE file containing file based inventory.
Source: Altiris.NS.ResourceManagement.DataClassImporter.LoadInventory
Description: Failed to load inventory.
The current user 'NS Agent Identity' does not have required permission 'read' to load item: Software Key Executable (714d2100-8c0b-4e61-a197-1e2937bddfa8~) [Altiris.NS.Exceptions.AeXUnauthorizedAccessException @ Altiris.NS]
at Altiris.NS.ItemManagement.Item.RaiseItemLoadFlagsSecurityException(String message)
at Altiris.NS.ItemManagement.Item.CheckCanGetItem(IItem item, IEnumerable`1 accessPermissions, ItemLoadFlags itemLoadFlags)
at Altiris.NS.ItemManagement.Item.GetItemInternal(Guid itemGuid, IEnumerable`1 accessPermissions, ItemLoadFlags itemLoadFlags, Boolean& cacheHit)
at Altiris.NS.ItemManagement.Item.GetItemInternal(Guid itemGuid, IEnumerable`1 accessPermissions, ItemLoadFlags itemLoadFlags)
at Altiris.NS.ItemManagement.Item.GetItem[T](Guid itemGuid, IEnumerable`1 accessPermissions, ItemLoadFlags itemLoadFlags)
at Altiris.NS.ResourceManagement.DataClassImporter.InventoryLoader.ReadDataClassItem(CodeProfiler cp)
at Altiris.NS.ResourceManagement.DataClassImporter.InventoryLoader.ServeNoneToDataClassNode(CodeProfiler cp)
at Altiris.NS.ResourceManagement.DataClassImporter.InventoryLoader.Load(CodeProfiler cp)
at Altiris.NS.ResourceManagement.DataClassImporter.LoadInventory(XmlReader reader, Boolean bProcessData, Boolean bForceSchemaValidation, Guid resourceGuidOverride)
The current user 'NS Agent Identity' does not have required permission 'read' to load item: Software Key Executable (714d2100-8c0b-4e61-a197-1e2937bddfa8~)
As per the log—the “read” permission to the “Software Key Executable” data class was lost.
Note: This particular data class is not located in the normal folder structure that organizes data classes. It is a hidden data class found under “Filters > ITMS Management Views Filters”
Perform the following steps.
Note: If the error is showing on multiple servers in a hierarchy then perform this on the Parent SMP and run a replication cycle.