Server 2008 Task Scheduler Mapped Drive Access C#
Posted
by user219313
on Stack Overflow
See other posts from Stack Overflow
or by user219313
Published on 2010-04-13T12:51:10Z
Indexed on
2010/04/13
12:52 UTC
Read the original article
Hit count: 2130
I'm trying do get Server 2008's Task Scheduler to run a C# console app which backs up data to a mapped backup drive somewhere on FastHosts network.
I've written a test app which simply does this
Directory.CreateDirectory("Z:\" + DateTime.Now.Ticks.ToString());
i.e. just creates a directory on the root of this Z drive.
This works fine when I just run the .exe but when I schedule it in Task Scheduler it says the task has completed with return code 3762507597 - I can't find any info on what this means.
I'm running the task with the highest Admin privelages as far as I can see.
© Stack Overflow or respective owner