Hi,
I have an executable which needs to be scheduled for daily usage. So far no problem.
I create a new task, fill out the command and Working Directory. Simple enoug, did this before, but the executable returns an error.
(Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at ExportNamespace.ExportNamespace.main(String[] sArgs) in C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\ExportNamespace\ExportNamespace\Module1.vb:line 98)
The Log file created by the program looks like this:
ERROR: mscorlib
ERROR: The handle is invalid.
The weird thing is that it doesn't return the error when i launch it through explorer or when i schedule it using Windows scheduler. It seems to be VC bound.
Any ideas on what might be happening here?
Hans