We have persistent a recurring problem with VC starting executable tasks. The symptoms are identical to our earlier posting:
Job Failure after Windows Updates Problem Description:When a task that has an EXECUTE task configured, it fails immediately with the following drwtsn32.exe Application Error:
The application failed to initialize properly (0xc0000142). Click on OK to terminate the application
This is occuring on EVERY execute task. All other tasks types are working correctly without problems
All of these jobs/tasks have been running fine without issue in the past. The problem started happening after a windows update /server reboot weekend. The problem stopped happening for an unknown reason, and has now reappeared (no changes to the server).
All of the .exe programs run without problem, when run manually in CMD window when logged on as the user that is credentialed for the task.
Details:Win 2003 Server. All of the latest windows updates.
All Execute tasks were originally configured with the following parameters:
- Run in Hidden Window
- Credentials
- Logon Type: With Profile (Run with API code)
Steps Taken:We have tried the following, all without success:
- Stop VC Tray client
- Restart VC Service
- Reboot Server
- Changed "Run with API code" to "Run with managed code"
(This caused the problem where the task would run but not with the configured credentials)
- changed the credentials to be a different user (with same permissions)
- Configured new executable tasks.
- uninstall/reinstall VC server - restore tasks from backup)
This did not work.
- uninstall/reinstall VC server - reconfigure all tasks by hand.
This worked for a few weeks, but the problem has returned.
We have now installed VC on a different server, restored the jobs from a backup, and they are running fine on the new server. However, we must get VC working on the original server.(several licensed programs are tied to the specific server, and we can't move them to the new server).
What else can we try? What information can we provide you to help troubleshoot this problem?