That's why you assign access to the AppPool Account to the specific Folder security options (that is in the file system I have assigned Network Service to have full control over that folder, and have set the Application Pool to run under the Network Service account. I can write files with no issue to the folder from the web page). And the page has no problem with access outside the gridview, just inside the gridview. It can delete fine with just a button and a text box on the page.
So my next step was to see if this was some quirkiness with System.IO.File.Delete embedded in the gridview.





Reply With Quote