By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,136 Members | 1,212 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,136 IT Pros & Developers. It's quick & easy.

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

P: n/a
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.

May 1 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"kplkumar" wrote:
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.

May 1 '07 #2

P: n/a
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?

"kplkumar" <kp******@gmail.comwrote in message
news:11*********************@q75g2000hsh.googlegro ups.com...
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.

May 1 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.