ASPX - Move Files on Server (security?)
Posted on 2006-06-14
This should be straight forward, I'm not sure why I'm having problems.
I have two folders:
The IUSER_ and IWAM_ accounts have full access to these folders.
The following code fails with an access denied error.
string srcFilePath = Server.MapPath("Data") + "\\" + "Access_Removal_Form.pdf";
string destFilePath = Server.MapPath("Uploads") + "\\" + "Access_Removal_Form.pdf";
I went ahead and granted FULL CONTROL to the "EVERYONE" group, but still got the security error.
What am I missing?
IIS 5.5; WinXP
Will be moving to Server 2003 IIS 6