If you get this message/error in Oracle:
ORA-01045:user name lacks CREATE SESSION privilege; logon denied
The Solution is simple. Just open command prompt and type the following:
sqlplus / as sysdba
grant create session to "USER-NAME";
Replace “USER-NAME” with the message’s user name.