Page 1 of 1

cmdlineprocessor fails to start

PostPosted: Tue Jul 24, 2012 11:16 am
by raye
Installed v11.0220 onto Windows 7, and trying to create a scheduled task

using the following settings:
Program/script : "C:\Program Files (x86)\HTMLValidator110\cmdlineprocessor.exe"
Arguments: -b www-validation-list.lst
Start in: "C:\Program Files (x86)\HTMLValidator110"

The arguments were copied from an older installation that was running on Windows 2000.

When I try to run the scheduled task, 2 errors are returned:
Launch Failure - Action failed to start
Task Scheduler failed to launch action "C:\Program Files (x86)\HTMLValidator110\cmdlineprocessor.exe" in instance "{9d54fc6a-74cd-4a4b-a27e-9ea93483901c}" of task "\HTML Validator". Additional Data: Error Value: 2147942667.

and the 2nd error
Run failure - Action start failed
Task Scheduler failed to start instance "{9d54fc6a-74cd-4a4b-a27e-9ea93483901c}" of "\HTML Validator" task for user "Admin" . Additional Data: Error Value: 2147942667.

Re: cmdlineprocessor fails to start

PostPosted: Tue Jul 24, 2012 11:54 am
by Albert Wiersch
Hello,

Are you running it under the right user account? CSE HTML Validator stores different settings on a per-user basis, so you will want to make sure you run the program using the right user account.

I also did a web search for that error and found this:

Turns out that error code 2147942667 means that the “Start In” parameter value was incorrect. This value must not be wrapped in quotes, unlike it could be in a Windows Server 2003 Scheduled Task. Below is a correct example.

Re: cmdlineprocessor fails to start

PostPosted: Tue Jul 24, 2012 12:05 pm
by raye
Thank you Albert - I just found that same item after searching on the Error Value that was returned.

After removing the quotes from the "Start In" section, the job is running now.

Cheers,
Ray

Re: cmdlineprocessor fails to start

PostPosted: Tue Jul 24, 2012 12:38 pm
by Albert Wiersch
raye wrote:After removing the quotes from the "Start In" section, the job is running now.


Great!