G
Guest
Hi, I'd really appreciate some help resolving the System.UnauthorizedAccessException that I receive when performing certain actions (I'm using C# with the .NET Framework 1.1). The File.Copy(source, dest, true) function works fine if the destination file does not exist, but if it does I receive this error (despite the fact that the 'overwrite' parameter is set). The same error occurs when I try to delete files and directories (eg. Directory.Delete(path, true)). And I do have the necessary permissions! I can easily delete or replace the files with Windows Explorer.
Please help, and many thanks in advance,
James.
Please help, and many thanks in advance,
James.