Quantcast
Channel: Configuration Manager 2007 Operating System Deployment forum
Viewing all articles
Browse latest Browse all 1063

TS fails with "There are no locations for this program"

$
0
0

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


Viewing all articles
Browse latest Browse all 1063

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>