RE: Failed software distribution
- From: soxford <soxford@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 17 Jul 2007 16:50:00 -0700
Hi Azwan,
Did you bundle the cscript.exe file with your package? I noticed that from
your log that it was missing from the command line:
Command line: scanallstate.vbs
You can copy the cscript.exe file from your %WINDIR%\System32 directory and
bundle it with your package. Then, your command line should read something
like:
cscript.exe scanallstate.vbs
Hope it helps!
Scot
"Azwan" wrote:
Hi,.
I've created a package and program that should run a VB script to
client
computer. I've done the normal thing such as create package, create
program
and update the distribution point.
Whn I distribute the package, client would received the notification
that a
program is about to run, however, when the times come, my program
failed. The
error in the Advertisement Status as follow:
=====================================================
An error occurred while preparing to run the program for
advertisement
"TML2000A" ("TML0000B" - "ScanState"). The operating system reported
error
2147942402: The system cannot find the file specified. Additional
program
properties:
Command line: scanallstate.vbs
Working directory:
Drive letter (? = any):
Possible cause: This message most commonly occurs when the program's
command-line executable file could not be found, when a required drive
letter
connection to a distribution point could not be established, or when
the
program is configured to use the SMS Software Installation Account but
the
account is not specified, could not be found, or does not have the
appropriate permissions.
Solution: Check each of the items listed above.
=====================================================
I can confirmed that in my SMSPKGF$ folder the package folder is
updated
with my script. The Advanced Client Network Account Access also
configured correctly.I've also able to run the script manually from
the client
computer.
Below is part of the execmgr.log from failed client
=====================================================
<![LOG[Failed to get associated command string for .vbs, error code
80070002]LOG]!><time="16:42:26.267+000" date="07-17-2007"
component="execmgr"
context="" type="3" thread="1276" file="fileassocexecution.cpp:266">
<![LOG[Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistProgramBadEnvironmentEvent
{
AdvertisementId = "TML2000C";
ClientID = "GUID:44FDBD46-C60D-4A9D-844E-2C6FB40FA9F9";
CommandLine = "scanstate.vbs";
DateTime = "20070717084226.283000+000";
DriveLetter = "";
MachineName = "KL33IT8785";
PackageName = "TML0000D";
ProcessID = 1100;
ProgramName = "Scan";
SiteCode = "TML";
ThreadID = 1276;
Win32ErrorCode = 2147942402;
WorkingDirectory = "";
};
]LOG]!><time="16:42:26.283+000" date="07-17-2007" component="execmgr"
context="" type="1" thread="1276" file="event.cpp:522">
<![LOG[Raised Program Bad Environment Event for Ad:TML2000C,
Package:TML0000D, Program: Scan]LOG]!><time="16:42:26.283+000"
date="07-17-2007" component="execmgr" context="" type="1"
thread="1276"
file="executioncontext.cpp:595">
<![LOG[EnterRsRuningState failed to run script scanstate.vbs
0x8000910a]LOG]!><time="16:42:26.283+000" date="07-17-2007"
component="execmgr" context="" type="2" thread="1276"
file="executionrequest.cpp:2407">
<![LOG[Fatal error 0x8000910a enountered for program Scan. This
program will
not retry.]LOG]!><time="16:42:26.298+000" date="07-17-2007"
component="execmgr" context="" type="1" thread="1276"
file="executionrequest.cpp:2551">
=====================================================
- References:
- Failed software distribution
- From: Azwan
- Failed software distribution
- Prev by Date: Re: 4912: Cannot update the already existing object. Need some he
- Next by Date: Re: 4912: Cannot update the already existing object. Need some he
- Previous by thread: RE: Failed software distribution
- Next by thread: RE: Failed software distribution
- Index(es):
Relevant Pages
|