Question Permission Denied to UNC path

mikelong0705

New member
Joined
Feb 4, 2010
Messages
1
Programming Experience
5-10
I have a windows service that monitors(filesystemwatcher) a folder on the local machine and copies incoming files to various locations locally and to a remote machine. (Using FSO to copy the files)
At first i was getting PermissionDenied on every copy action but then i added delays to program (figuring the file may have not have been completely built before i was copying) and that took care of the local copying but i still get the old CTL_E_PermissionDenied error when it tries to copy the file to the remote machine (using a UNC path).
This is really strange to me because i have a windows application version of the service and it works perfectly.
This is really my first time with services and any suggestions would be greatly appreciated.
I thought maybe i need to look at the Framework configuration tool and somehow give services the same trust as applications(if that makes any sense) but i can't make heads or tails out of what i'm supposed to do with that thing.
 
Back
Top