search cancel

Error "Item save to DB Failed" during upgrade, configuring Task Management

book

Article ID: 253272

calendar_today

Updated On:

Products

IT Management Suite Client Management Suite

Issue/Introduction

We have a failed 8.6 RU3 upgrade from RU2.  It is failing on the task management server piece, looking for the wrong path.

severity="1" hostName="SMP_Server" source="Resource.SaveResourceToDatabase" module="Altiris.NS.dll" process="AeXSvc" pid="3592" thread="86" tickCount="7621703"><![CDATA[Item save to DB failed: e56cac78-3284-455b-85e7-477f3cf32787, (fromClone=False, user=US\AppID)

Failed to save config setting in 100 retries @ 00:00:39.0934667, recent error: Could not find a part of the path 'D:\Program Files\Altiris\Altiris Agent\Client Task Server\49f6a31f-92bd-4d1b-ba4f-cf2ae07eb20f'.
   [System.Exception @ Altiris.DotNetLib]
   at Altiris.DotNetLib.Configuration.BaseXmlConfigurationObject.Save()
   at Altiris.TaskManagement.ClientTask.SiteServer.Policies.TaskServiceConfigurationPolicy.UpdateTaskServersWebSite(TaskServiceConfigurationPolicy policy, String tsUrl, ICollection`1 programItemGuids)
   at Altiris.TaskManagement.ClientTask.SiteServer.Policies.TaskServiceConfigurationPolicy.UpdateTaskServersWebSite(TaskServiceConfigurationPolicy policy)
   at Altiris.TaskManagement.ClientTask.SiteServer.Policies.TaskServiceConfigurationPolicy.ResolveTsWebSite(TaskServiceConfigurationPolicy policy)
   at Altiris.TaskManagement.ClientTask.SiteServer.Policies.TaskServiceConfigurationPolicy.OnToXml(XmlTextWriter xmlBuilder)
   at Altiris.NS.ItemManagement.Item.GetItemStateXml(CodeProfiler cp)
  at Altiris.NS.ItemManagement.Item.Save()

Exception logged from: 
   at Altiris.NS.ItemManagement.Item.Save()
   at Altiris.NS.StandardItems.Product.ProductInstallationHelper.ResaveItems(System.Collections.Generic.ICollection<System.Guid>, Int32, String, String)
   at Altiris.NS.StandardItems.Product.ProductInstallationHelper.ResaveItems(System.Xml.XmlNodeList)
   at Altiris.NS.StandardItems.Product.ProductInstallation.Execute(String, String, System.Xml.XmlNode, String, System.Action<System.Xml.XmlNodeList>)
   at Altiris.NS.StandardItems.Product.ProductInstallation.OnUpgradeProduct(System.Xml.XmlNode)
   at Altiris.TaskManagement.TaskManagementInstallation.OnUpgradeProduct(System.Xml.XmlNode)
   at Altiris.NS.StandardItems.Product.ProductInstallation.InstallProduct()
   at Altiris.TaskManagement.TaskManagementInstallation.InstallProduct()
   at Altiris.NS.Installation.ProductConfigurationWorker.ConfigureProductInternal(String, Boolean, Altiris.NS.Serialization.SerializationMode)
   at Altiris.NS.Installation.ProductConfigurationWorker.ConfigureProductBatchInternal()
   at Altiris.NS.Installation.ProductConfigurationWorker.ConfigureProductBatch()
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object)
   at System.Threading.ThreadHelper.ThreadStart()

 

Environment

8.x

Resolution

Client Task Management Reg Keys were pointing to D:\ instead of E:\.  Task was not installed, so we're not sure where these came from.

Manually installed Client Task Server (C:\Program Files\Altiris\Notification Server\NSCap\bin\Win64\x64\Client Task Management\Server Package) on the SMP, and then ran through a Reconfigure installed products (selecting all products) through SIM.  That completed successfully but the Management Platform 8.6 RU3 was still needing to be reconfigured, so we ran through a Full repair:  SIM > Repair installed Products > Perform full repair.  This completed successfully.