I am trying to set up a page in a .net 4.0 application where users can upload a file, but I can’t seem to set up the permissions for the directory that the files should end up at to allow that. I have tried temporarily allowing everyone full access to the directory, but to no avail.
I have also tried allowing the application pool identity (Network Service) full read/write permissions to the directory, but that also didn’t fix it.
I am using anonymous authentication with the user identity set as the application pool identity.
Any help would be appreciated!
try giving access to user IIS_WPG . This will solve the problem.