Windows Scheduled Task Failed with Error Value: 2147942402

This stumped me for an hour when I deployed a new version of the application to be called by an existing scheduled task.  However, the task kept failing to launch, with a ResultCode 2147942402.

Google search didn’t yield anything useful.

It turns out the error is caused by the simple fact that the application has changed and it needs to be updated in the scheduled task’s Action properties.

So the lesson learned here is to try recreate a scheduled task when you get this error.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s