Solved

Program Scheduler in Microsoft Visual Studio.Net

Posted on 2004-04-07
7
343 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
What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

 

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
A short article about problems I had with the new location API and permissions in Marshmallow
Six Sigma Control Plans
Progress

719 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