From: deepak on
Hi There,

i have a scenrio where in i need to watch a folder which is shared on
samba server and avialable on windows.
but while doing that i get an error from FileSystemWatcher(FSW) which
says "The specified network name is no longer available".

here is what my setup looks like:

MYSTORE --> folder available to windows through samba.
permissions --> full control , i can create/delete files,folders

i have created a network drive for MYSTORE and the folder to be
watched is within this MYSTORE named WATCH;

The path which i specify in while creating FSW is \\MYSTORE\WATCH

and also my application is windows service and running in the account
which has permission with Samba .

i have no idea why FSW is not working .

any comments/suggestions appreciated


Thanks
Deepak