.NET console app crashes in task scheduler

J

Jonathan

Application popup: import.exe - Application Error : The
instruction at "0x77fc8fe1" referenced memory
at "0x4d534148". The memory could not be "written".
----

I have a .NET (v1.1) console application (written in C#)
that is running on a W2K machine. I have set up the Task
Scheduler to run this application every 2 minutes to
import any files that have been uploaded. However, it
randomly crashes with a message like this, and since it's
running on the scheduler account, nobody clicks OK on the
dialog box and the process hangs up until I go terminate
it. I can't track down the problem because it appears to
be random, and it even fails even when there's no file to
import. I thought it might be a problem with .NET's
garbage collection, but I am unable to find any
information on this anywhere. Has anyone else seen this
problem? If not, is there a way I can make the dialog
box go away automatically so it will continue to run
according to the schedule?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top