KNOWN ISSUE: ''An error occurred saving changes'', when saving an asset
search cancel

KNOWN ISSUE: ''An error occurred saving changes'', when saving an asset

book

Article ID: 176675

calendar_today

Updated On:

Products

Asset Management Solution

Issue/Introduction

When trying to save the Asset Owner association, the following exception may be thrown:

Module: AltirisNativeHelper.dll
Source: Altiris.Resource.Web.Manager.EditCreateResource.ButtonsStatusCtrl_Click
Description: An error occurred saving changes.  Object reference not set to an instance of an object. ( Unhandled exception.  Type=Altiris.Resource.UI.Controls.ResourceDetailsEditCtrl+RDEditCtrlSaveException Msg=Object reference not set to an instance of an object. Src=Altiris.Resource.UI
StackTrace=
   at Altiris.Resource.UI.Controls.ResourceDetailsEditCtrl.SaveChanges(String newName)
   at Altiris.Resource.Web.Manager.EditCreateResource.SaveChanges()
   at Altiris.Resource.Web.Manager.EditCreateResource.ButtonsStatusCtrl_Click(Object sender, CommandButtonStatusCtrlEventArgs e) )

Cause

This can be caused by the following sequence of events:

  1. A user is assigned to an asset as the Asset Owner.
  2. While still assigned to an asset, that user is then deleted from the Notification Server database.

This occurs because the item delete cleans up the related records from the ResourceAssociation table for the asset and user but not the Inv_Ownership_Details table.

Resolution

To resolve the issue immediately, run the Clean Ownership Task found under ConfigurationSolutions SettingsCMDB Solution. This task is scheduled to run by default at 10 a.m. and 10 p.m. daily, which will resolve a number of these issues without manual intervention.

Applies To
CMDB Solution 6.5
Notification Server 6.0 SP3 R6