Error on Importing File Properties Inventory Policy

book

Article ID: 158625

calendar_today

Updated On:

Products

Management Platform (Formerly known as Notification Server) Inventory Solution

Issue/Introduction

A console error, 'Error importing item: web service error - ImportItem' is received when attempting to import a policy containing file property inventory from another NS.

Errors are also shown in the NS log

Console Error: 

NS Logs Error:

Priority: 1

Tick Count: 1126330312

Host Name:

Process: <unknown> (5540)

Module: <unknown>

Source: Altiris.NS.UI.MenuItemsCommon.ImportItem

Description: An error occurring during 'ImportItem': Altiris.NS.Exceptions.AeXItemImportException: Item Import exception : 8b9078fd-077e-480b-95c7-963899f1689e = Altiris.Inventory.Policies.OfflineClientTaskPolicy(016928ab-f4e1-429e-9eed-5f81217e36e9) ---> Altiris.NS.Exceptions.AeXException: Unable to update the specified item from the Altiris NS database ---> System.Data.VersionNotFoundException: No class GUID found for version or item 042e168d-7306-4894-b82c-77cce5642a8a

 

Preceded by two Warning type entries:

Priority: 2

Tick Count: 1126329968

Host Name:

Process: <unknown> (5540)

Thread ID: 7

Module: <unknown>

Source: Altiris.TaskManagement.TaskBasedPolicies.TaskAndInputParametersEntry.ToXml

Description: TaskAndInputParametersEntry::ToXml(): Error getting task 042e168d-7306-4894-b82c-77cce5642a8a: System.Data.VersionNotFoundException: No class GUID found for version or item 042e168d-7306-4894-b82c-77cce5642a8a

 

Cause

 A dependent task is not automatically included in the exported policy xml.

Resolution

 

  1. Open the File Inventory policy that you originally exported in a web browser to view its XML.

  2. Locate the taskVersionGuid attribute GUID.

  3. Confirm that this correspond to the GUID in the error log entry above, 'No class GUID found for version or item'

  4. On the NS console use the Altiris Import/Export utility under <install drive>\program files\altiris\notification server\bin\tools to export the GUID you identified in the previous step

  5. On the target NS, import the above item and then re-attempt the original File Inventory Policy import which should then complete successfully

 


Applies To

 NS 7.1 SP2 

Attachments