We have 2 (load balanced) IIS7 servers running our asp.net 3.5 application. The site allow the users to upload files and delete them. The application saves the files on a separate internal file server using a UNC path. The site runs under its own Application Pool within IIS and the pool is configured to run with the ApplicationPoolIdentity. The web.config does not use impersonate either. All servers all members of the same domain.
The issue i am experiencing is with delete. The files save ok, but when the user tries to delete the file they get an occasional access denied. Further research seems to indicate the issue being with the ownership of the file. Looking at the NTFS file ownership on the file sever, it shows the file owner to be s7$ or s8$ (the 2 IIs nodes machine accounts) depending which IIS node processed the file upload. If the delete goes through the same IIS node it works, otherwise the ...
Go to the complete details ...