none
TS fails with "There are no locations for this program" RRS feed

  • Question

  • Background: I have an advertised program that runs a user interface window that allows them to postpone a deployment or run it immediately. When they choose to run the deployment, a VB script uses WMI to off a TS advertisement. All source files, scripts, programs reside in on single package. The first "user interface" program advertisement is set to "Download all contents locally before starting task sequence". The task sequence advertisement is set to "Download content from distribution point and run locally".

    The problem: This is working in 80% of the cases but fails for the rest. The script fires up the task sequence advertisement but fails immediately. These are the events from smsts.log:

    Attempting to get locations for this member program.
    The location for this member program is C:\Windows\system32\CCM\Cache\CMC00109.8.System
    Attempting to get cache location from C:\Windows\system32\CCM\Cache\CMC00109.8.System.
    SMS Client cache path: C:\Windows\system32\CCM\Cache
    Client cache relative location for this member program is %_SMSTSClientCache%\CMC00109.8.System
    Setting source for CMC00109 to %_SMSTSClientCache%\CMC00109.8.System
    ulPrgLocationCount != 0, HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\launcher\tslauncher.cpp,309)
    There are no locations for this program
    GetDownloadLocationForMemberProgram(pITSExecutionRequest, sPackageID, sProgramID), HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\launcher\tslauncher.cpp,570)
    Task Sequence Manager could not get active request info. code 80004005
    GetExecutionRequestDetails(pIExecutionRequest), HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\launcher\tslauncher.cpp,644)
    Failed to get the details of the execution request. code 0x80004005
    Task Sequence Launcher could not get active request info. code 80004005
    GetActiveRequest(), HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\launcher\tslauncher.cpp,776)
    Error initializing TS environment. Code 0x80004005
    InitializeEnvironment(), HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\launcher\tslauncher.cpp,962)
    Task sequence launcher advertisement failed!. Code 0x80004005
    **Please cleanup TSM directory before you rerun the advert**
    Finalizing logging from process 21348
    Successfully finalized logs to SMS client log directory from C:\Windows\system32\CCM\Logs
    Cleaning up task sequencing logging configuration.

    Error in execmgr.log:

    CExecutionManager::GetActiveRequest - entered.
    CExecutionRequestManager::OnGetActiveRequest - entered.
    The reference count for program *, package CMC0010A has been incremented to 1
    Persisting task sequence request for program * package CMC0010A in state Running
    CTSExecutionRequest::SetInfoToWMIObject entered
    Set the base class properties, now setting specific TS properties
    CTSExecutionRequest::GetMemberPrograms - entered
    Getting member locations for program Uninstall ExpressSearch 8.3 SP2 P1 package CMC00109
    Program found in the member queue.
    Getting member download locations for program Uninstall ExpressSearch 8.3 SP2 P1 package CMC00109
    Program exit code 16389
    CExecutionStatus::CExecutionStatus
    Looking for MIF file to get program status
    Looking for MIF file in directory C:\Windows\
    Looking for MIF file in directory C:\Windows\system32\
    Script for Package:CMC0010A, Program: * failed with exit code 16389
    Raising event:
    [SMS_CodePage(437), SMS_LocaleID(1033)]
    instance of SoftDistProgramErrorEvent
    {
    Advertisement info
    };
    Raised Program Error Event for Ad:CMC20181, Package:CMC0010A, Program: *
    Execution is complete for program *. The exit code is 16389, the execution status is FailureNonRetry

     


    Mayur

    Monday, April 2, 2012 7:21 PM

Answers

  • Hi

    I had this a little while back.

    It turned out to be Site Boundaries that were causing an issue. Somebody had changed the name of the AD Site in Active Directory.

    If you add an IP Address Range as a Site Boundary, see if it picks up anything.

    I would also recommend on the affected client turning on http://support.microsoft.com/kb/833417/en-gb

    Saturday, July 19, 2014 11:35 AM

All replies

  • Did you (or anyone) ever figure out what the fix for this was. I am having a very similar issue where half my deplioyment works flawlessly, but the other half gets the same errors you have listed in the TSAgent.log file.

    **Edit**

    Sorry, should mention I'm having the issue in SCCM 2012, but I've found so little on this, and the products are very similar. Some of the mentioned fixes were of no help. Boundaries on mine were fine, as some client in the same boundary worked, while others did not.

    For me, the only fix is to continually "re-deploy" the package, and eventually all the clients will complete. Very strange!!!!

    Wednesday, July 9, 2014 8:12 PM
  • Hi

    I had this a little while back.

    It turned out to be Site Boundaries that were causing an issue. Somebody had changed the name of the AD Site in Active Directory.

    If you add an IP Address Range as a Site Boundary, see if it picks up anything.

    I would also recommend on the affected client turning on http://support.microsoft.com/kb/833417/en-gb

    Saturday, July 19, 2014 11:35 AM