No licensed computers or targets with licensed computers were assigned.

book

Article ID: 172005

calendar_today

Updated On:

Products

Software Management Solution

Issue/Introduction

No licensed computers or targets with licensed computers were assigned. Message when trying to schedule Quick Delivery task.

DeliverSoftware task <Quick Delivery Task>:  Failed to obtain license for  resource - f790adee-d3ea-47b0-a3af-54b3afab6977. Reason:  License count for Software Management solution has exceeded

Error in the application.
   [Altiris.NS.Licensing.LicenseExceededException @ Altiris.NS]
   at Altiris.NS.Licensing.LicensingPolicy.RequestLicense(Guid resourceGuid)
   at Altiris.SoftwareManagement.ClientTasks.SmsLicenseChecker.RequestLicense(Guid compGuid)

Exception logged from:
   at Altiris.SoftwareManagement.ClientTasks.SmsLicenseChecker.RequestLicense(System.Guid)
   at Altiris.SoftwareManagement.ClientTasks.SmsLicenseChecker.RequestLicense(System.Collections.Generic.IEnumerable<System.Guid>)
   at Altiris.SoftwareManagement.Tasks.DeliverSoftware.ValidateLicensedTargets(Altiris.DotNetLib.Collections.ParameterValueCollection, System.Guid)
   at Altiris.SoftwareManagement.Tasks.DeliverSoftware.OnProcessPreExecuteInputParameters(Altiris.DotNetLib.Collections.ParameterValueCollection, System.Collections.Generic.IList<String>)
   at Altiris.TaskManagement.BaseTask.ProcessPreExecuteInputParameters(Altiris.DotNetLib.Collections.ParameterValueCollection, System.Collections.Generic.IList<String>)
   at Altiris.TaskManagement.ClientTask.BaseClientTask.ProcessPreExecuteInputParameters(Altiris.DotNetLib.Collections.ParameterValueCollection, System.Collections.Generic.IList<String>)
   at Altiris.TaskManagement.BaseTask.CreateTaskInstance(String, String, System.Guid, Altiris.TaskManagement.Common.JobNodeGuid, Altiris.DotNetLib.Collections.ParameterValueCollection, System.Collections.Generic.IList<String>)
   at Altiris.TaskManagement.ClientTask.BaseClientTask.CreateTaskInstance(String, String, System.Guid, Altiris.TaskManagement.Common.JobNodeGuid, Altiris.DotNetLib.Collections.ParameterValueCollection, System.Collections.Generic.IList<String>)
   at Altiris.SoftwareManagement.Tasks.DeliverSoftware.CreateTaskInstance(String, String, System.Guid, Altiris.TaskManagement.Common.JobNodeGuid, Altiris.DotNetLib.Collections.ParameterValueCollection, System.Collections.Generic.IList<String>)
   at Altiris.TaskManagement.BaseTask.ExecuteTask(Altiris.TaskManagement.Common.TaskVersionGuid, String, String, System.Guid, Altiris.TaskManagement.Common.JobNodeGuid, Altiris.DotNetLib.Collections.ParameterValueCollection, System.Collections.Generic.IList<String>)
   at Altiris.TaskManagement.TaskExecutionHelper.RunTaskNow()
   at Altiris.TaskManagement.UI.Controls.TaskSchedulingControl.Apply(Altiris.TaskManagement.UI.TaskSchedule&, Altiris.TaskManagement.Data.ITaskExecutionInstance&)
   at Altiris.TaskManagement.Web.TaskScheduleMaintenance.OK_Click(Object, EventArgs)
   at Altiris.WebControls.ButtonState.RaiseClick()
   at Altiris.WebControls.ButtonListControl.RaisePostBackEvent(String)
   at System.Web.UI.Page.ProcessRequestMain(Boolean, Boolean)
   at System.Web.UI.Page.ProcessRequest(Boolean, Boolean)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(System.Web.HttpContext)
   at Altiris.NS.UI.Controls.PageCachePage.ProcessRequest(System.Web.HttpContext)
   at Altiris.NS.UI.AltirisPage.ProcessRequest(System.Web.HttpContext)
   at System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(System.Web.HttpApplication+IExecutionStep)
   at System.Web.HttpApplication.ExecuteStep(System.Web.HttpApplication+IExecutionStep, Boolean&)
   at System.Web.HttpApplication+PipelineStepManager.ResumeSteps(Exception)
   at System.Web.HttpApplication.BeginProcessRequestNotification(System.Web.HttpContext, AsyncCallback)
   at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(System.Web.Hosting.IIS7WorkerRequest, System.Web.HttpContext)
   at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr, IntPtr, IntPtr, Int32)
   at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr, IntPtr, IntPtr, Int32)

HTTP [POST]: http://SMPSERVERURL/Altiris/TaskManagement/TaskScheduleMaintenance.aspx?ItemGuid=e75c0576-d509-4207-ae7c-e7b006a3acdb&PageInstance=9f354183-f4d1-4f2f-935a-1429fff0ed10
 ip: [10.130.2.196]; languages: [en-US]; content-length: [50951];
 response: [200 OK]; x-smp-nsversion: [8.1.4528.0];
-----------------------------------------------------------------------------------------------------
Process: w3wp (14224), Thread ID: 788, Module: Altiris.SoftwareManagement.dll
Priority: 1, Source: Altiris.SoftwareManagement.ClientTasks.SmsLicenseChecker.RequestLicense
 

Cause

All licenses for Software Management Solution have been consumed.

Environment

ITMS 8.1

Resolution

Add licenses for Software Management Solution or delete managed computers.
More detailed can be queried from the Symantec_CMDB database:
select * from LicenseStatus where LicensingPolicyGuid LIKE 'ad3f5980-d9e9-11d3-a318-0008c7a09198'
select * from Inv_AeX_AC_Client_Agent_Summary where [Agent Name] LIKE 'Software Management Solution Agent'