KNOWN ISSUE: Error "The specified GUID does not refer to a item" when trying to edit a resource
search cancel

KNOWN ISSUE: Error "The specified GUID does not refer to a item" when trying to edit a resource

book

Article ID: 176657

calendar_today

Updated On:

Products

Asset Management Solution

Issue/Introduction

When trying to edit a resource in Asset Control Solution 6.2 or CMDB Solution 6.5, the following error may be shown if the resource has a data class with a Foreign Resource Key reference, and the item being referenced has been deleted:

Module: AltirisNativeHelper.dll
Source: global.asax
Description: Unhandled exception.  Type=Altiris.NS.Exceptions.AeXException Msg=The specified GUID does not refer to a item
StackTrace=
   at Altiris.NS.ItemManagement.Item.GetName(Guid itemGuid)
   at Altiris.Resource.UI.Controls.AttributeControls.ResourcePickerAttributeControl.OnPreRender(EventArgs e)
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain()

Cause

This is caused when an item, being referenced by a data class with a Foreign Resource Key attribute, is deleted, and the reference is not removed from the data class that the reference was inserted into.

Resolution

Preventive: First remove any foreign key references to an item before deleting the item itself.

Workaround: Remove orphaned items from the data class with the foreign resource key that is causing the issue.


Applies To

Asset Control Solution 6.2
CMDB Solution 6.5