Solved

Program Scheduler in Microsoft Visual Studio.Net

Posted on 2004-04-07
7
339 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
  • 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article will show, step by step, how to integrate R code into a R Sweave document
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now