Link to home
Start Free TrialLog in
Avatar of joanne84
joanne84

asked on

Program Scheduler in Microsoft Visual Studio.Net

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
Avatar of Dabas
Dabas
Flag of Australia image

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
Avatar of joanne84
joanne84

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of Dabas
Dabas
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
Pei Ling:
Sounds like a new question to me

Dabas
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
Pei Ling:
Sounds like another new question to me

Dabas