Error Access to path denied when use File.Copy when file exists! 19. November 2008 Amir Mirkamali ASP NET 2.0 (0) I got this strange error when tried to overwrite file. I had full control access but i got this error. The error occured when the file is read only! change the attribute of existing file and you will be able to copy the file!