This took me a while to figure out, but here is what I'm dealing with.
When I try to delete a file I receive this error:
Error Deleting File: Portal Root\\test.txt
Access to the path \'Portal Root\\test.txt\' is denied.
Now before you ask me if I have ASPNET, and Network Service with full permissions, the answer is yes, I do. As a matter of fact, I was so paranoid about it, I gave them full permissions to the entire drive as a test. I checked the individual files I was trying to delete and sure enough, they had "proper" permissions. I then went through and checked every folder on it's way up to the file I was trying to delete, and every folder had the same permissions.
Here is what I did as a test. I gave the IUSR write permissions to the individual file I was trying to remove, I then tried to delete, and voila, file gone. Just to make sure I wasn't crazy, I put the test.txt file back and tried to delete it. Same error. I gave it IUSR write permissions, and once again, file gone.
What am I missing here. ASP.Net is in fact running as Network Service, I checked and double checked. Thank you in advance for your help.
-BenjaminJWD
System Information:
DNN 04.08.00
Windows Server 2003 SP2
ASP.Net 2.0 SP1