C
Craig Matchan
Hi everyone,
we have a problem with a scheduled task not running. Basically we have three
tasks defined, all use the same username to run under, in this case the
domain administrator account. The two tasks that run ok run from the servers
local hard disk and write back to the local hard disk. The one task that is
failing to run via a schedule (it will run if you manually start it) runs
from one of the shares and writes to the other share.
This is what is logged in the scheduled tasks logfile
Unable to start task.
The specific error is:
0x80070005: Access is denied.
Try using the Task page Browse button to locate the application.
I did a search on the MS knowledge base on this and came accross a KB
article about making sure the account it is running under has "Access this
computer from the network". I've done this but it has not helped.
I thought it might also be related to the two shares it relies upon timing
out, the drives appear as "disconnected" after 30min or so. When run
manually the shares become "active", I assume they change state when they
are accessed, however I thought it might be casing the initial execution of
the program to fail when it's run via scheduled tasks. Once again I located
a MS KB article about extending the default share timeout values and have
increased it to it's max. Once again this has had no effect and the
application still fails to start when done via scheduled tasks. Both servers
are part of our domain, that is the server it is running from and the server
the shares are on. Both servers are Windows2003 Std Edition with SP1.
Any help welcome.
Regards
Craig
we have a problem with a scheduled task not running. Basically we have three
tasks defined, all use the same username to run under, in this case the
domain administrator account. The two tasks that run ok run from the servers
local hard disk and write back to the local hard disk. The one task that is
failing to run via a schedule (it will run if you manually start it) runs
from one of the shares and writes to the other share.
This is what is logged in the scheduled tasks logfile
Unable to start task.
The specific error is:
0x80070005: Access is denied.
Try using the Task page Browse button to locate the application.
I did a search on the MS knowledge base on this and came accross a KB
article about making sure the account it is running under has "Access this
computer from the network". I've done this but it has not helped.
I thought it might also be related to the two shares it relies upon timing
out, the drives appear as "disconnected" after 30min or so. When run
manually the shares become "active", I assume they change state when they
are accessed, however I thought it might be casing the initial execution of
the program to fail when it's run via scheduled tasks. Once again I located
a MS KB article about extending the default share timeout values and have
increased it to it's max. Once again this has had no effect and the
application still fails to start when done via scheduled tasks. Both servers
are part of our domain, that is the server it is running from and the server
the shares are on. Both servers are Windows2003 Std Edition with SP1.
Any help welcome.
Regards
Craig