w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Unauthorized Access Exception - Access to the Path Denied while copying file to other Directory in C#

MSDN (http://msdn.microsoft.com/en-us/library/9706cfs5(v=vs.110).aspx) says that File.Copy throws the UnauthorizedAccessException when

The caller does not have the required permission.


destFileName is read-only.

Please check the above conditions and try again.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.