Exception exporting document...(Access Denied)

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
rbross
Posts: 441
Joined: Wed Nov 19, 2014 4:13 am
Location: Coventry, Connecticut USA

Exception exporting document...(Access Denied)

Post by rbross »

Hello,

Just started getting this error not sure what I changed!
"Exception exporting document 'Path\filename.csv' (Access Denied) "

Never got this before... any idea's what caused it?

Roger
Roger Ross
AwareIM 8.7 (build 3025) ~ MS-SQL ~ Windows 10 ~
AwareIM 8.5 (build 2828) ~ MS-SQL ~ Windows 10 ~
rbross
Posts: 441
Joined: Wed Nov 19, 2014 4:13 am
Location: Coventry, Connecticut USA

Re: Exception exporting document...(Access Denied)

Post by rbross »

Never mind figured it out....
Roger Ross
AwareIM 8.7 (build 3025) ~ MS-SQL ~ Windows 10 ~
AwareIM 8.5 (build 2828) ~ MS-SQL ~ Windows 10 ~
weblike
Posts: 1165
Joined: Sun Dec 02, 2012 12:00 pm
Location: Europe

Re: Exception exporting document...(Access Denied)

Post by weblike »

Having the same problem now...
rbross, can you give a hint please?
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
rbross
Posts: 441
Joined: Wed Nov 19, 2014 4:13 am
Location: Coventry, Connecticut USA

Re: Exception exporting document...(Access Denied)

Post by rbross »

The path was wrong. You have to start at the tomcat folder. with
EXPORT BOName TO '../Tomcat/webapps/AwareIM/foldername/filename (Optional is EXCLUDE RELATIONSHIPS APPEND) that's if you want to add to what you are exporting.
Roger Ross
AwareIM 8.7 (build 3025) ~ MS-SQL ~ Windows 10 ~
AwareIM 8.5 (build 2828) ~ MS-SQL ~ Windows 10 ~
UnionSystems
Posts: 197
Joined: Fri Jun 17, 2016 7:10 am
Location: Brisbane Australia
Contact:

Re: Exception exporting document...(Access Denied)

Post by UnionSystems »

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

Code: Select all

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!
AWS Linux, Windows Server, AIM 8.4 & 8.6
Post Reply