Pop up notification: The following error occurred on the page 'GenericItemPickerDlg.aspx'

Article:TECH25805  |  Created: 2007-01-02  |  Updated: 2012-09-20  |  Article URL http://www.symantec.com/docs/TECH25805
Article Type
Technical Solution


Issue



When attempting to add an additional data class to an existing Resource Type an IE error window pops up with the following error content:

 


Error



The following error occurred on the page 'GenericItemPickerDlg.aspx'

Failed to load the selector tree.

The NS Logs contained the following error trace information:

Description: Unhandled exception.  Type=Altiris.NS.Exceptions.AeXException Msg=Failed to load the selector tree.
StackTrace=
   at Altiris.NS.UI.GenericItemPickerDlg.BuildFastTree()
   at Altiris.NS.UI.GenericItemPickerDlg.OnLoad(EventArgs e)
   at _ASP.GenericItemPickerDlg_aspx.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain()

Inner exception.  Type=Altiris.NS.Exceptions.AeXException Msg=Could not find specified tree 'cacce31c-3cc0-4a14-837d-160448eb4528' or multiple matching trees found
 

 


Environment



Notification Server 6.0.6074 SP3

 


Cause



The error occurred becuse the Tree item with GUID cacce31c-3cc0-4a14-837d-160448eb4528 -- is missing from the Tree table.

To verify the condition run the following query in SQL Query Analyzer against the Altiris database:

SELECT * FROM Tree where guid = 'cacce31c-3cc0-4a14-837d-160448eb4528'  

 

 

This issue is generally observed after installing a Notification Server hotfix. The root cause is still under investigation.

 


Solution



If the previous query returned no result then run the following SQL against the database to insert the missing item.

insert into Tree(Guid, NameRef, Xml, CreatedDate, ModifiedDate)

VALUES
(
'cacce31c-3cc0-4a14-837d-160448eb4528',
'Name',
'<tree guid="{CACCE31C-3CC0-4a14-837D-160448EB4528}" nameRef="ByCategoryTreeName" implementation="Altiris.NS.UI.FolderQueryTreeBuilder,Altiris.NS.UI"><rootQuery description="" hideEmptyFolders="1" sortChildren="1" alwaysHideEmptyFolders="1"><![CDATA[     select [Guid] from ( select i.[Guid], 0 as [Ordinal] from [vItem] i where [Guid]=''D0E33520-C160-11D2-8612-00104B74A9DF'' ) fl order by [Ordinal] asc    ]]></rootQuery><includeSql><![CDATA[    SELECT i.Guid     FROM Item i    JOIN ClassBaseClass c ON c.ClassGuid=i.ClassGuid    WHERE c.BaseClassGuid=''9780A7F9-9B64-47D6-8BA3-2DDC2910823D'' OR i.ClassGuid=''9780A7F9-9B64-47D6-8BA3-2DDC2910823D''    ]]></includeSql></tree>',
getdate(),
getdate()
)


Legacy ID



31508


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


Terms of use for this information are found in Legal Notices