Cannot schedule a deployed Application

  • Thread starter Thread starter Steven
  • Start date Start date
S

Steven

This seems like a puzzle. We are able to successfully
develop and deploy an app using vb.net. The app runs
great when you double click on the icon.

However, if you try to schedule the app to run at a
certain time, it never even starts. There are entries in
the event logs indicating why it might have failed.

To add to the puzzle, if you schedule a batch file that
calls the application, it will start every time. The
calling line within the .cmd file follows:

"C:\Program Files\MM2KEOD\MM2KEndOfDay.exe"

Any ideas?

Thanks,

Steven
 
Hello Steven,

Thanks for your post. As I understand, you used Scheduled Tasks to set a VB
..NET application run at a certain time, however, it failed to start. Please
correct me if there is any misunderstanding. I tested serveral systems on
my side, and it works properly with VB .NET applicaiton. I think more
information is needed before moving forward:

1. Please right-click the application in Scheduled Tasks, and make sure it
is "Enabled (scheduled task runs at specified time)", the "Run as" points
to a user account with enough privileges, click "Set password" to input
correct password for the user account.

2. You mentioned that there are serveral event log entries indicating the
errors. Could you please tell me the detailed error messages?

3. What's your operating system? Do you have any Service Pack installed?
Can you reproduce the problem with other .NET application or unmanaged
application (say, Notepad.exe)?

I look forward to hearing from you.

Have a nice day! :-)

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Back
Top