I need to track changes in network drive (Z:) using FileSystemWatcher in C#.
When I try to set the Path property of FileSystemWatcher in Wndows form application everything OK.
But when I try to do the same action in my Windows Service application I recieve an Error message in journal
"Unable to start the service. System.ArgumentException: The folder Z:\ is not allowed in System.IO.FileSystemWatcher.set_Path(String value)".
How can I fix this?