Solved

Program Scheduler in Microsoft Visual Studio.Net

Posted on 2004-04-07
7
342 Views
Last Modified: 2010-04-17
Hi expert,

May I know which template should I choose when I want to program scheduler in Visual Studio.Net?

Now I'm using Web Form. I have completed my program and put it in the Scheduled Tasks in Setting. But the status of Schedule Task show me "could not start" the program.

May I know what should I do?

Please advise.Thanx.

Regards,
joanne84
0
Comment
Question by:joanne84
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 27

Expert Comment

by:Dabas
ID: 10780505
Hi joanne84,

Right click on the task, and select Properties
On the first where it says Run As, you have to enter a valid userName for that computer or domain, and click on the Password button to set the password.


Dabas
0
 

Author Comment

by:joanne84
ID: 10780652
Hi Dabas,

If I have a local database and a shared database, and the data of my project is retrieve from the shared database.

What should I set in "Run As" in the schedule property field? Is the local server name or shared server name?

Pls advise. Thanx.

Regards,
Pei Ling
0
 
LVL 27

Accepted Solution

by:
Dabas earned 50 total points
ID: 10780663
Hi Pei Ling:
Either. As long a that user has permissions to run that program
So the Run As field will look something like

LOCALNAME/LOCALUSERNAME

or

DOMAINNAME/DOMAINUSERNAME

Dabas
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:joanne84
ID: 10781033
Hi Dabas,

My programme is schedule to sent email.
The Scheduler can start the Visual Studio.net but I does not receive any email from my program..

Do you have any idea?

Thanx.

Regards,
Pei Ling
0
 
LVL 27

Expert Comment

by:Dabas
ID: 10781054
Pei Ling:
Sounds like a new question to me

Dabas
0
 

Author Comment

by:joanne84
ID: 10781059
Hi Dabas,

Now the scheduler is running aspx.cs file.
Do I need to save the program to .exe file?

How to do so?

Thanx.

Regards,
Pei Ling
0
 
LVL 27

Expert Comment

by:Dabas
ID: 10781075
Pei Ling:
Sounds like another new question to me

Dabas
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is about my first experience with programming Arduino.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question