Author: mike_smith | Posted on: 4/21/2010 9:01:19 AM | Views : 338

Hi all,
I've a problem to delete a file that is located on a shared folder.
The file is not in use by any other application (it can be deleted manually) and is free.
I've tried to create the shared folder both on my dev box (WIN XP) and on a dev server - I still get the access denied message (Access to the path \\share is denied).
I've given the NETWORK SERVICE Full Control on the permissions and Security tabs of the shared folder.
I've Installed process monitor (on the server and traced the w3wp.exe) to see what account is trying to delete the file - and I see NT AUTHORITY\NETWORKSERVICE is getting ACCESS DENIED, though it has full control permission as stated.
I've also tried to impersonate to another user using WindowsIdentity class and tried the delegation thing - still not helping (maybe i'm doing it wong  - I'll be happy to receive instructions to the correct form).
...

Go to the complete details ...