Problem with FileSystemWatcher on 2003 server box

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hello everyone,

Im not sure if Im posting this in the right areas or not so I apologize if its in the wrong place. But, I have developed a Windows service that uses the FileSystemWatcher to be notified when files are written to a given directory structure. The service
works wonderfully on my development box which is Windows XP and another users machine that is also XP. The problem I am having is that when I deploy this service to our server (2003 server) I am losing a lot of the events...When I say losing I mean the File
Watcher is throwing an error that contains no information in the inner exception, and has a message of:
"System.ComponentModel.Win32Exception: The specified server cannot perform the requested operation."
I have checked into permissions (The credentials used with the service have full read/write) to no avail and the service on my local box is running under the same log in credentials. I have access to try this on a 2008 machine, but Im hoping someone out
there can give me an idea as to why it will not run properly on 2003.

View the full article
 
Back
Top