Oracle
1Z0-032 · Question #52
You received this error message because Oracle Net Services cannot locate the connect descriptor specified in the tnsnames.ora configuration file: ORA-12154: TNS:could not resolve service name Which…
The correct answer is B. Verify that a tnsnames.ora file exists and that it is accessible. D. Verify that the tnsnames.ora file is in the location specified by the TNS_ADMIN environment variable. F. Verify that the service name specified in your connection string matches a named entry in the tnsnames.ora file. See the full explanation below for the reasoning.
Question
You received this error message because Oracle Net Services cannot locate the connect descriptor specified in the tnsnames.ora configuration file:
ORA-12154: TNS:could not resolve service name Which three actions would be appropriate in helping to resolve the error? (Choose three.)
Options
- AVerify the naming method is set to host naming.
- BVerify that a tnsnames.ora file exists and that it is accessible.
- CVerify that a listener on the client node exists and has been started.
- DVerify that the tnsnames.ora file is in the location specified by the TNS_ADMIN environment variable.
- EVerify the NAMES.DIRECTORY_PATH = (TNSNAMES, HOSTNAME) parameter is set in the initialization
- FVerify that the service name specified in your connection string matches a named entry in the tnsnames.ora file.
How the community answered
(27 responses)- A11% (3)
- B81% (22)
- C4% (1)
- E4% (1)
Community Discussion
No community discussion yet for this question.