Deleting files using .NET that were migrated from win2k3
- by Andrew Duncan
We recently migrated an ASP.NET website from Windows 2003 to Windows 2008 R2, by zipping up all the files and extracting them to the new site.
Since migrating the web application is still able to upload and delete files (that are new), however, it's unable to delete files that were copied from the original Win 2k3 app.
We're guessing it's a permissions problem because the error is:
Access to the path 'E:.......PATH.....' is denied.
We've been trying to match the permissions of a newly uploaded file to that of a migrated files. Newly uploaded files seem to get the APP POOL user as a permission and the OWNER. However, the original files didn't have this.
Any help that anyone can be would be fantastic.
Thanks,