Invalid path error when FileSystemWatcher points to a network location

srivalli9

New member
Joined
May 19, 2005
Messages
3
Hi,

I have written a Windows Service.
This has a "FileSystemWatcher" component in it whose path is set to a
network folder.
[Ex: \\someNetworkMachineName\Folder1\]
This basically fires an event when the content of the network folder are
modified.
But after I installed the service and tried to start the service, I got the "invalid path" error.
Please note that everything works fine if I replace the path to a
network folder with that of a local folder.

Any help is greatly appreciated.

Thank you
Srivalli.
 
You probably have tough about all this but just in case,
do you have acess to the network folder?
if you need to enter a password and a username to conect to it, under windows you have to redo it everytime.
maybe you already tough of this and you are entering a password everytime, but its not written there so im asking anyway...

another way to do it would maybe to create a virtual drive to the folder...
 
Back
Top