I am having a problem where I am trying to delete my file but I get an exception.
if (result == \"Success\") { if (FileUpload.HasFile) { t
An UnauthorizedAccessException exception is thrown when the operating system denies access because of an I/O error or a security error.
If you are attempting to access a file or registry key, make sure it is not read-only.