A
Anders
Hi all,
I have an console app that looks in one folder (e.g.
c:\temp) and copies all files to a couple of other
folders, one local folder (e.g. d:\temp) and one mounted
folder (e.g. x:\).
All this works fine, but....when I run this application
as a Windows Service the System.IO.File.Copy
(file,newFile,true) throws an
System.IO.DirectoryNotFoundException saying: Could not
find part of the path "x:\newFile.ext"
I have tried running the service as "Local System" and as
User (logged on as me) so the process will run as the
same as the console app.....but there is no difference =(
Any ideas?!
Cheers
//Anders =)
I have an console app that looks in one folder (e.g.
c:\temp) and copies all files to a couple of other
folders, one local folder (e.g. d:\temp) and one mounted
folder (e.g. x:\).
All this works fine, but....when I run this application
as a Windows Service the System.IO.File.Copy
(file,newFile,true) throws an
System.IO.DirectoryNotFoundException saying: Could not
find part of the path "x:\newFile.ext"
I have tried running the service as "Local System" and as
User (logged on as me) so the process will run as the
same as the console app.....but there is no difference =(
Any ideas?!
Cheers
//Anders =)