I have spent quite some time to find out what was causing AVAA0-3794-E error. I dint find solution or any reference to the error in Knowledge base. However the solution was simple - to grant user with modify rights of all Primavera folders on C drive:

C:\Program Files (x86)\Common Files\Primavera Common

C:\Program Files (x86)\Common Files\Borland Shared

C:\Program Files (x86)\Common Files\Java

C:\Program Files (x86)\Oracle\Primavera P6\Project Management

especially to PM.ini file in C:\Program Files (x86)\Oracle\Primavera P6\Project Management

 

Hope this help to someone save time on researching.

 

Cheers!