ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Unable to download Software Updates from Microsoft to the SMP Server

book

Article ID: 161497

calendar_today

Updated On:

Products

Patch Management Solution for Windows

Issue/Introduction

Opened the Console > Actions > Software > Patch Remedation Center; highlighted the current Software Bulletin to be deployed, right-click > Distribute Packages, and the process fails to complete. 
 

<event date="12/02/2014 14:37:14.4200582 -05:00" severity="1" hostName="Server1" source="Altiris.PatchManagementCore.Resources.PatchSoftwareUpdateResource.createPackage" module="AtrsHost.exe" process="AtrsHost" pid="6152" thread="82" tickCount="48110989"><![CDATA[Error Setting Package Name/Description : System.InvalidOperationException: Update {9b08b3cd-854f-4fe4-af3c-175d5cf04a71} does not have a designated primary data row.
   at Altiris.PatchManagementCore.Resources.PatchSoftwareUpdateResource.EnsurePrimaryDataRow()
   at Altiris.PatchManagementCore.Resources.PatchSoftwareUpdateResource.createPackage()
**CEDUrlStart** :http://entced.symantec.com/entt?product=SMP&version=7.5.3153.0&language=en&module=2DYP5/X9tzVkFhSBx1FhOwRCXbe5MtzTD04ZoBk1wO40lLn7PEIPbG8fCHMge1lS&error=-398999455&build=**CEDUrlEnd**]]></event>

<event date="12/02/2014 14:37:14.8724698 -05:00" severity="1" hostName="Server1" source="Resource.SaveResourceToDatabase" module="AtrsHost.exe" process="AtrsHost" pid="6152" thread="82" tickCount="48111441"><![CDATA[Item save to DB failed: 869035de-8f0f-4cac-8336-1ff7a569ca69, (fromClone=False, user=DOMAIN\AltirisAdmin)
File C:\Program Files\Altiris\Patch Management\Packages\Updates\MS14-064\{9b08b3cd-854f-4fe4-af3c-175d5cf04a71} does not exist
   [System.IO.FileNotFoundException @ Altiris.PatchManagement]
   at Altiris.PatchManagement.Resources.Win32SoftwareInstallationFileResource.DetermineSoftwareInstallationType()
   at Altiris.PatchManagement.Resources.Win32SoftwareInstallationFileResource.OnSave(Boolean bExistingItem)
   at Altiris.NS.ItemManagement.Item.Save()
Exception logged from:
   at Altiris.Diagnostics.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception, String footer)
   at Altiris.NS.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)
   at Altiris.NS.ItemManagement.Item.Save()
   at Altiris.NS.ItemManagement.Item.Create(Guid productGuid)
   at Altiris.NS.ResourceManagement.Resource.Create(Guid productGuid)
   at Altiris.PatchManagement.Resources.Win32SoftwareInstallationFileResource.CreateWin32InstFileResource(Guid PackageGuid)
   at Altiris.PatchManagement.Policies.VendorPolicyWindows.CreateNewSoftwareInstallationFile(PatchSoftwareUpdateResource swu)
   at Altiris.PatchManagementCore.Resources.PatchSoftwareUpdateResource.<>c__DisplayClassf.<createSoftwareInstallationFileForPackage>b__9(IDatabaseContext ac)
   at Altiris.Database.DatabaseContext`1.RetryAction(Int32 retries, Boolean transacted, Getter`1 getContext, Action`1 action, Action`1 retry, DeadlockRetryArgs& re, Exception& exception, Boolean inTransaction)
   at Altiris.Database.DatabaseContext`1.PerformWithDeadlockRetryHelper(Int32 retries, Boolean inTransaction, Getter`1 getContext, Action`1 action, Action`1 retry, Boolean transacted)
   at Altiris.Database.DatabaseContext`1.PerformWithDeadlockRetry(Int32 retries, Boolean startNewTransaction, IsolationLevel isolationLevel, Boolean independentContext, Action`1 action, Action`1 retry)
   at Altiris.Database.DatabaseContext`1.PerformWithDeadlockRetry(Int32 retries, Boolean startNewTransaction, Action`1 action, Action`1 retry)
   at Altiris.NS.ContextManagement.DatabaseContext.PerformWithDeadlockRetry(Int32 retries, Action`1 action, Action`1 retry)
   at Altiris.PatchManagementCore.Resources.PatchSoftwareUpdateResource.createSoftwareInstallationFileForPackage(Guid guidPackage)
   at Altiris.PatchManagementCore.Resources.PatchSoftwareUpdateResource.createPackage()
   at Altiris.PatchManagementCore.Tasks.Server.DownloadSWUPackageTask.PostDownloadProcessing(PatchSoftwareUpdateResource softwareUpdate, Boolean isDownloadSuccessful)
   at Altiris.PatchManagementCore.Tasks.Server.DownloadSWUPackageTask.ProcessPackages(ProcessPackagesRezult rezult)
   at Altiris.PatchManagementCore.Tasks.Server.DownloadSWUPackageTask.OnExecuteSingleton(IServerTaskExecutionInstance instance)
   at Altiris.PatchManagementCore.Tasks.Server.SerializingBaseSingletonServerTask`2.OnExecute(IServerTaskExecutionInstance i)
   at Altiris.TaskManagement.ServerTasks.BaseServerTask.Execute(ITaskExecutionEngine engine, IBaseTaskExecutionInstance instance, TaskInstanceRequest request)
   at Altiris.TaskManagement.Common.Execution.Engine.TaskEngineExecutionThread.ExecuteTaskHandler()
   at Altiris.TaskManagement.ServerTasks.ServerTaskExecutionThread.ExecuteTaskHandler()
   at Altiris.TaskManagement.Common.Execution.Engine.TaskEngineExecutionThread.OnExecute(Object eventComplete)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart(Object obj)
**CEDUrlStart** :http://entced.symantec.com/entt?product=SMP&version=7.5.3153.0&language=en&module=IcKXzhzkS7QtcPtR/F5Vr4z3nToho03f1KbYqB/XOPk=&error=1979375368&build=**CEDUrlEnd**
]]></event>
 

<event date="12/02/2014 14:37:14.8880702 -05:00" severity="1" hostName="NTBHI3056" source="Altiris.PatchManagementCore.Resources.PatchSoftwareUpdateResource.createSoftwareInstallationFileForPackage" module="AtrsHost.exe" process="AtrsHost" pid="6152" thread="82" tickCount="48111457"><![CDATA[Error to create the Software Installation File Resources for Software Update Package 'Windows8-RT-2012-KB3010788-x64.msu' - '9b08b3cd-854f-4fe4-af3c-175d5cf04a71'.
Item save failed: 869035de-8f0f-4cac-8336-1ff7a569ca69
   [Altiris.NS.Exceptions.AeXException @ Altiris.NS]
   at Altiris.NS.ItemManagement.Item.Save()
   at Altiris.NS.ItemManagement.Item.Create(Guid productGuid)
   at Altiris.NS.ResourceManagement.Resource.Create(Guid productGuid)
   at Altiris.PatchManagement.Resources.Win32SoftwareInstallationFileResource.CreateWin32InstFileResource(Guid PackageGuid)
   at Altiris.PatchManagement.Policies.VendorPolicyWindows.CreateNewSoftwareInstallationFile(PatchSoftwareUpdateResource swu)
   at Altiris.PatchManagementCore.Resources.PatchSoftwareUpdateResource.<>c__DisplayClassf.<createSoftwareInstallationFileForPackage>b__9(IDatabaseContext ac)
   at Altiris.Database.DatabaseContext`1.RetryAction(Int32 retries, Boolean transacted, Getter`1 getContext, Action`1 action, Action`1 retry, DeadlockRetryArgs& re, Exception& exception, Boolean inTransaction)
   at Altiris.Database.DatabaseContext`1.PerformWithDeadlockRetryHelper(Int32 retries, Boolean inTransaction, Getter`1 getContext, Action`1 action, Action`1 retry, Boolean transacted)
   at Altiris.Database.DatabaseContext`1.PerformWithDeadlockRetry(Int32 retries, Boolean startNewTransaction, IsolationLevel isolationLevel, Boolean independentContext, Action`1 action, Action`1 retry)
   at Altiris.Database.DatabaseContext`1.PerformWithDeadlockRetry(Int32 retries, Boolean startNewTransaction, Action`1 action, Action`1 retry)
   at Altiris.NS.ContextManagement.DatabaseContext.PerformWithDeadlockRetry(Int32 retries, Action`1 action, Action`1 retry)
   at Altiris.PatchManagementCore.Resources.PatchSoftwareUpdateResource.createSoftwareInstallationFileForPackage(Guid guidPackage)
File C:\Program Files\Altiris\Patch Management\Packages\Updates\MS14-064\{9b08b3cd-854f-4fe4-af3c-175d5cf04a71} does not exist
   [System.IO.FileNotFoundException @ Altiris.PatchManagement]
   at Altiris.PatchManagement.Resources.Win32SoftwareInstallationFileResource.DetermineSoftwareInstallationType()
   at Altiris.PatchManagement.Resources.Win32SoftwareInstallationFileResource.OnSave(Boolean bExistingItem)
   at Altiris.NS.ItemManagement.Item.Save()
Exception logged from:
   at Altiris.Diagnostics.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception, String footer)
   at Altiris.NS.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)
   at Altiris.PatchManagementCore.Resources.PatchSoftwareUpdateResource.createSoftwareInstallationFileForPackage(Guid guidPackage)
   at Altiris.PatchManagementCore.Resources.PatchSoftwareUpdateResource.createPackage()
   at Altiris.PatchManagementCore.Tasks.Server.DownloadSWUPackageTask.PostDownloadProcessing(PatchSoftwareUpdateResource softwareUpdate, Boolean isDownloadSuccessful)
   at Altiris.PatchManagementCore.Tasks.Server.DownloadSWUPackageTask.ProcessPackages(ProcessPackagesRezult rezult)
   at Altiris.PatchManagementCore.Tasks.Server.DownloadSWUPackageTask.OnExecuteSingleton(IServerTaskExecutionInstance instance)
   at Altiris.PatchManagementCore.Tasks.Server.SerializingBaseSingletonServerTask`2.OnExecute(IServerTaskExecutionInstance i)
   at Altiris.TaskManagement.ServerTasks.BaseServerTask.Execute(ITaskExecutionEngine engine, IBaseTaskExecutionInstance instance, TaskInstanceRequest request)
   at Altiris.TaskManagement.Common.Execution.Engine.TaskEngineExecutionThread.ExecuteTaskHandler()
   at Altiris.TaskManagement.ServerTasks.ServerTaskExecutionThread.ExecuteTaskHandler()
   at Altiris.TaskManagement.Common.Execution.Engine.TaskEngineExecutionThread.OnExecute(Object eventComplete)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart(Object obj)

**CEDUrlStart** :http://entced.symantec.com/entt?product=SMP&version=7.5.3153.0&language=en&module=2DYP5/X9tzVkFhSBx1FhOwRCXbe5MtzTD04ZoBk1wO77PJgVVrKOWkAPDuPZko26EBXs3YZf6BwdWCsI3V2+jsZ9JYbh3e3TuIfUZd2XlmmRAHe/+LVR3dAn/bvQO4Sv&error=-1764966689&build=**CEDUrlEnd**
]]></event>
 

Cause

Missing Dataclass and/or Resource Associations to build the Software Update Package and/or Policy

Environment

Patch Management 7.5.x

Resolution

Solution 1:

  • Standalone SMP Servers:
    • Run a reconfigure of Patch Management to recreate the missing dataclass
  • Hierarchy SMP Server:
    • Missing on Parent NS - Run a reconfigure of Patch Management to recreate the Dataclass and/or Resources
    • Missing on Child NS - Run a Full Replication from Parent to Child to replicate the Import Patch Data for Windows

Solution 2:

  • Open the Console > Manage > Jobs and Tasks > System Jobs and Tasks > Software > Patch Management > Import Patch Data for Windows
    • Expand the Vendors and Software segment
      • Enable any wanted Vendor data to be included
      • Disable any unwanted Vendor data to be excluded
    • Configure to ensure the unnecessary resources are cleared and the associations are able to build and execute on schedule or Now as able:

 

 

Attachments