Deleting files using .NET that were migrated from win2k3
Posted
by
Andrew Duncan
on Server Fault
See other posts from Server Fault
or by Andrew Duncan
Published on 2012-03-20T11:47:43Z
Indexed on
2012/03/20
23:32 UTC
Read the original article
Hit count: 238
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,
© Server Fault or respective owner