Running a console application in Windows Scheduler - .NET Runtime Error EventID: 5000

  • Thread starter Thread starter kplkumar
  • Start date Start date
K

kplkumar

Hi all

I am fairly new to windows scheduler.


I have an .exe console application that needs to be run 1st of every
month. I created a scheduled task in Windows Schduler and called
the .exe.


The application is supposed to pull some report data and make a
webservice call to sent out this data.


When the user running the task has admin previleges it runs fine. But
otherwise, I always get a .NET Runtime Error EventID: 5000 and just
fails.


Any input on that would be great. Please.
 
kplkumar said:
Hi all

I am fairly new to windows scheduler.


I have an .exe console application that needs to be run 1st of every
month. I created a scheduled task in Windows Schduler and called
the .exe.


The application is supposed to pull some report data and make a
webservice call to sent out this data.


When the user running the task has admin previleges it runs fine. But
otherwise, I always get a .NET Runtime Error EventID: 5000 and just
fails.


Any input on that would be great. Please.

In order to run a program via Task Scheduler on the NT based O/S, the
application has to be ran under admin rights, as I recall. If you are able
to run with a different user account other than one that's using admin
rights, Task Scheduler would have allowed you to make the selection during
setup of the task.
 
Back
Top