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

Guest

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
 
I

Ignacio Machin \( .NET/ C# MVP \)

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?
 

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