Solved

Program Scheduler in Microsoft Visual Studio.Net

Posted on 2004-04-07
7
338 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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
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 fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

708 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

15 Experts available now in Live!

Get 1:1 Help Now