My problem comes in WinNT 40(server or workstation, no matter). When
calling NewWorkItem, the error code is 0x80070050 (The file exists.).
Ok
then activate it. And I call Activate. The error code now is:
0x80070002
(The system cannot find the file specified.)... So it's a paradox or
something.
I think WinNT 40 is missing something. The same application on Win2k
works, and in WinNT40 doesn't.
Does anyone have any idea? Have you ever used ITaskScheduler on remote
machines?
Thanx in advance.
--
Black
I get this problem also, I think the answer is in the security
area(intuition), and I'm still making reaserches to find the reason.
The problem is with the NewWorkItem function and not with the Activate
function so don't search the fault in the Activate.
Please if you succeed to solve it, publish it.
btw, do you succeed to add a new task to a different machine from the
task scheduler itself (from the gui) ? please try it. try it from the
NT machine and from the Win98 machine.
Best Regards
Carmi
I have tried the same via the DLL, which is provided in siteserver and have
the same problem (I tried this, because I wanted to use it in scripting).
So I build my own helper class, which makes nothing than to have a
CreateObject function, which I can call remoetely (with WSCs/scripts). So,
first I crate my remote helper object and then let this create a local
taskscheduler object. Then it works ...... :-(
[A blame to miss a really useful component with the taskscheduler - there is
a commandline utility in w2k, so do THEY lead us back to commandline scripts
?????????].
May be my obervation is helpful for you!
Best regards,
Manfred Braun
(Private)
Lange Roetterstrasse 7
D68167 Mannheim
Germany
mailto:_mbr...@manfred.mannheim-netz.de
(Remove the anti-spam-underscore to mail me!)
"Carmi Sternberg" <carmist...@yahoo.com> wrote in message
news:3a2385e6.87855199@news...