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.
 
When you create the scheduled Task, the Task Scheduler wizard should prompt
you for a username and password representing the credentials under which you
want this task to be run.
Peter
 
Hi,

You have to run it under an user account with enough permission to do what
you want. Most probably you might be accesing some folders than the user has
no permission to.

What is wrong in using the admin user to run it?
 
Back
Top