June 16, 2009 at 3:26 am
Hi,
I just added Vbscript wscript.echo " Hello World" and scheduled it to run.
Its giving error: following error message as below.
Error Code: 0 Error Source= Microsoft VBScript runtime error Error Description: Object required: 'WScript' Error on Line 0. The step failed.
Please help me
Thanks
Naveen
June 17, 2009 at 9:29 am
What did you enter for the job step? Just, "XP_CMDSHELL 'wscript.echo " Hello World"'?"
Randy
June 17, 2009 at 10:09 am
Couple things, is the type of job an OS job?
Also, you might need to give the entire path to cscript to get it to run. I'd run a dir *.* > c:\dir.txt to find out what folder you are in when you execute this.
June 17, 2009 at 9:52 pm
Hi,
i Just selected Activex Script and wrote the code wscript.echo " Hello World" in the step, thats it and i tried to run it. it is ending in error.
Thanks
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply