I am pretty sure there is enough permissions. It's using the local system
account. I've now amended the service so it performs 2 tasks:-
moves 3 files from one folder to another by executing a vb script
moves a single file from one folder to another using c# code
The file moved by c# code is successful but the script doesn't move it's
files. Obviously I've tested and the script works by executing it manually.
Thanks
"Henning Krause [MVP - Exchange]" wrote:
Hello,
which user account do you use for the service? Does the service account has
the necessary permissions to the directory in question?
Kind regards,
Henning Krause
"David" <Da***@discussions.microsoft.comwrote in message
news:5C**********************************@microsof t.com...
Hello
I'm trying to develop a Windows service, in visual studio 2005, which
executes a visual basic script. However, if the script interacts with the
file system (as it has to), the script appears to run but doesn't do what
it
should do (like move files from one folder to another.
We really don't want to have to rewrite the script, which uploads content
to
a web site. However, we want to write a service that watches a folder and
triggers the script once any export files arrive.
Thanks