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

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.
 
M

Mr. Arnold

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.
 

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