Error, "Failed in OnMessage handler of Application Inventory Task: Unable to update"

Article:TECH14061  |  Created: 2006-05-25  |  Updated: 2009-04-27  |  Article URL http://www.symantec.com/docs/TECH14061
Article Type
Technical Solution


Issue



I receive the following error message:

Failed in OnMessage handler of Application Inventory Task: Unable to update the specified item from the Altiris NS database.


Environment



Windows 2003 Server SP1 on the Notification Server
Windows 2003 Server SP1 on the SQL Server (SQL* 2000 SP3)
Notification Server 6.0 SP3
Software Delivery Solution 6.1 (Hotfix 1)
Inventory Solution 6.1
Application Metering Solution 6.0

Cause



Suspected cause is task corruption.

Solution



  1. On a test server or another Notification Server, find the Task located under View > Solutions > Software Delivery > Configuration > Windows > Application Inventory. It is named "New Application Inventory Task."
  2. Note that this task must be the default Application Inventory task that comes as part of the Software Delivery installation.
  3. Right-click on the task and choose Export.
  4. Open the resulting XML file in a true XML editor (www.crimsoneditor.com)
  5. Search for the word NoDelete. It will be within the Attributes tags.
  6. Delete this so that NoDelete no longer appears within the Attributes tags. Save the changes to the file.
  7. Take the resulting XML file and move it to the Notification Server experiencing this problem.
  8. In the console of the Notification Server with the issue, browse to the same location as above.
  9. Right-click on the folder Application Inventory and choose Import.
  10. Browse to the file you moved over and choose to import it.
  11. There may be an error that results, but in our experience the task is now able to be deleted.
  12. Right-click on the task and choose Delete.

New tasks function correctly at this point as the issue has been resolved.


Legacy ID



22951


Article URL http://www.symantec.com/docs/TECH14061


Terms of use for this information are found in Legal Notices