Network FileSystemWatcher does not work

PaulZ

Active member
Joined
Apr 8, 2004
Messages
26
Location
Dordrecht, the Netherlands
I implemented a FileSystemWatcher in my program to watch for incoming files in a directory.

It works when I set the watchdir to a local dir (C:\ERRORS\) but when I set the watchdir to I:\ERRORS\ (network) it doesnt fire when a new file is put in that directory. I suppose it has to do something with the watcherpermissions but I do not know how to set it right for the network.

Anyone an idea?

Thanks,
Paul

btw: Everyone has full permissions on that directory
 
Last edited by a moderator:
1) The computer also has the permission? You have to set the Framework, Intranet to fulltrust.
2) Check the path. Maybe for network the path would have to be: I:\\ERRORS\
 
Thanks!
The only thing I can think of is the Framework fulltrust. All the other options are correct. I will see to it monday at work.
I will let you know wether this fixes my problem.
 
Back
Top