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
Check your files properties. If the read-only is checked, uncheck it. This was my personal issue with the UnauthorizedAccessException.