Another scenario that can trigger an "Access Denied" error is when you have multiple object instances in context.
When you have multiple object instances in context and you
EXPORT DOCUMENT Document_Name TO FILE File_Name
AwareIM creates a folder named File_Name and then exports multiple files into that File_Name folder.
Once this folder exists you cannot export a single file of the same name (you get an Access Denied message).
Posting this cause I just lost 60 minutes resolving this error and I'll forget what the cause is next time!