CMS\Inventory Solution install failing to import software catalog

Article:TECH46093  |  Created: 2009-10-22  |  Updated: 2012-07-21  |  Article URL http://www.symantec.com/docs/TECH46093
Article Type
Technical Solution


Issue



When CMS SPI installs it gets to the point where it tries to import the Software Catalog and fails. The errors in the log are below.


Process: AeXSvc (4636)
Thread ID: 31
Module: AeXSVC.exe
Source: Altiris.NS.Installation.ProductConfigurationWorker.ConfigureProductInternal
Description: Failed to import the item from the file [E:\Program Files\Altiris\SoftwareCatalogDataProvider\Config\SoftwareCatalogData.config]

( Exception Details: Altiris.NS.Exceptions.AeXException: Unable to locate the ItemClass associated with the specified GUID in the database nor in the XML. (GUID: 18771654-0dfd-49ad-9c88-68d5750cbf87)
   at Altiris.NS.ItemManagement.Item.ImportItem(XmlNode itemNode)
   at Altiris.NS.ItemManagement.Item.ImportItemFromFile(String xmlItemFile)
   at Altiris.NS.Installation.ProductConfigurationWorker.ConfigureProductInternal(String configFile, Boolean ownsProgressContext, SerializationMode serializationMode) )
( Exception logged from:
   at Altiris.Diagnostics.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)
   at Altiris.Diagnostics.Logging.EventLog.ReportException(String strMessage, String category, Exception exception)
   at Altiris.NS.Installation.ProductConfigurationWorker.ConfigureProductInternal(String configFile, Boolean ownsProgressContext, SerializationMode serializationMode)
   at Altiris.NS.Installation.ProductConfigurationWorker.ConfigureProduct()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
 )
( Extra Details:  Type=Altiris.NS.Exceptions.AeXException Src=Altiris.NS )

Then this one:

Process: AeXSvc (4636)
Thread ID: 31
Module: AeXSVC.exe
Source: Altiris.NS.Installation.ProductConfigurationWorker.ConfigureProduct
Description: Failed to configure E:\Program Files\Altiris\SoftwareCatalogDataProvider\Config\SoftwareCatalogData.config

( Exception Details: Altiris.NS.Exceptions.AeXException: Unable to locate the ItemClass associated with the specified GUID in the database nor in the XML. (GUID: 18771654-0dfd-49ad-9c88-68d5750cbf87)
   at Altiris.NS.ItemManagement.Item.ImportItem(XmlNode itemNode)
   at Altiris.NS.ItemManagement.Item.ImportItemFromFile(String xmlItemFile)
   at Altiris.NS.Installation.ProductConfigurationWorker.ConfigureProductInternal(String configFile, Boolean ownsProgressContext, SerializationMode serializationMode)
   at Altiris.NS.Installation.ProductConfigurationWorker.ConfigureProduct() )
( Exception logged from:
   at Altiris.Diagnostics.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)
   at Altiris.Diagnostics.Logging.EventLog.ReportException(String strMessage, String category, Exception exception)
   at Altiris.NS.Installation.ProductConfigurationWorker.ConfigureProduct()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
 )
( Extra Details:  Type=Altiris.NS.Exceptions.AeXException Src=Altiris.NS )

Running an install on just Inventory Solution fails when it attempts to "Configure Software Catalog Data File..."

The logs report an "Error in ConfigTask.cs"

Exception Details: Symantec.Installation.ConfigTaskException: Product failed to install. See Log for details.


Environment



NS 7 Sp2 HF2

CMS SP1


Cause



Unknown. Partial install/uninstall of Inventory Solution.

Guid 18771654-0dfd-49ad-9c88-68d5750cbf87 is the guid for the Altiris.SoftwareCatalogDataProvider. This guid doesn't exist in the database.

When the Software Catalog installs in Inventory Solution 7.0 SP1 (7.0.1104) it creates a folder structure of SoftwareCatalogDataProvider and SoftwareCatalogDataProviderLP. These folders existed.


Solution



In the "Program Files\Altiris\Symantec Installation Manager\Installs\Altiris" are all of the MSIs used by the installation. If a product is not installed, the respective MSI can't be executed unless by SIM. If the product is installed the MSI dialog will appear when executed allowing the product to be removed or repaired.

The altiris_softwarecatalogdata_1_0_x86.msi, altiris_softwarecatalogdataprovider_7_0_x86.msi and the altiris_softwarecatalogproviderlp32_7_0_x86.msi all executed and allowed these products to be uninstalled.

Once these were uninstalled, Inventory Solution 7.0 Sp1 was able to install successfully.


Legacy ID



49761


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


Terms of use for this information are found in Legal Notices