Scheduled task will not work with return e0434f4d as last result

I have a simple vb.net application. When I go to bin \ debug \ program.exe and double click, the program runs flawlessly. The same program will not be executed using the task scheduler. When I create a scheduled task and click run, it just opens the console window for a second, it closes. In addition, the same program is used to start with the task scheduler. Once he just stopped working.

ps:
I have this program code managed in svn, so I can say with confidence that the code has not changed.

+5
source share
5 answers

Personally, I do not believe in magic :-)

  • Double-check that the source code does not change compared to the working version.
  • Are you sure that the program is completed at all? There may be some problems with permissions (of which the user runs the program, etc.).
  • (if # 2 passes) Try debugging it to see the cause of the problem.
+3
source

0xe0434f4d . . , , . , , . , AppDomain.CurrentDomain.UnhandledException e.ExceptionObject.ToString(). , , , .

+17

, . .

+1

I would see for which user the scheduled task is running. Perhaps this works with an account whose password has expired (as you said, it was started earlier) and requires that it be changed.

0
source

One thing that I noticed with some scheduled tasks in Windows 2000 and Windows XP is that every time the computer restarts, we must re-enter the password for some tasks. Others continue to work without him, and I never made a difference.

0
source

All Articles