Oracle Error ORA-28057: name of the password file could not be constructed

Oracle Error Message

ORA-28057: name of the password file could not be constructed

Reason for the Error

Possibly environment variable ORACLE_SID was not set.

Solution

Set value for the ORACLE_SID environment variable.