Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

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 doesn't 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

Edited by PaulZ
Posted

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\

Posted

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.

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...