web analytics

Oracle ORA-12557: TNS:protocol adapter not loadable

Oracle Error ORA-12557 – TNS:protocol adapter not loadable occurs on my Windows machine whenever I want to access sqlplus using command prompt.

Once hit [Enter] button after issuing command sqlplus / as sysdba, an unwanted popup appear  and it said:

The procedure entry point snlseFreeSecAttrib could not be located in the dynamic link library oranl10.dll

Oracle Error sqlplus not found

I don’t really know how come this error come hehe, but it must be related to Windows Environment or Oracle Home PATH because sqlplus command works smoothly when I execute it inside ORACLE_HOME\bin.

Okay, let we see what’s wrong with the Windows Environment.

RUN: SYSDM.CPL to open Windows System Properties

Click on Advanced Tab > Environment Variables…

Windows System Properties

Click the Path variable under System Variable, then click  Edit…

Windows Environment Variables

This is the original Path

Path variable before

Let we change the order between Oracle Client Home and Oracle DB Home:

From: D:\oracle\product\10.2.0\client_1\bin;D:\oracle\product\10.2.0\db_1\bin;

To: D:\oracle\product\10.2.0\db_1\bin;D:\oracle\product\10.2.0\client_1\bin;

in other words, put the Oracle DB Home in front of the other path.

Path

Click OK to save the changes.

Open new command prompt and write down sqlplus / as sysdba

Oracle Connected

Eh, it work.. :D


Blog Widget by LinkWithin

database error, Microsoft Windows Server, Oracle, Technology Oracle, Software, Technology, Windows Matter

14 comments on “Oracle ORA-12557: TNS:protocol adapter not loadable

  1. Hmm…let me try this tomorrow :) i have the same issue with NBU on my Oracle server. thanks!

  2. Jackhorror on said:

    it worked for my! yees!
    windows 2008 r2
    Oracle Database 11g Release 2 11.2.0.1.0 (x64)
    ODAC 11.2 Release 3 (11.2.0.2.1) with Oracle Developer Tools for Visual Studio

  3. Himanshu on said:

    That is the Rocking solution for making oracle 11g 32bit and 64bit clients working on the windows 7. Appreciate your help…!!!

  4. Thanks for your help… issue is resolved now.!!!

  5. Mayur on said:

    Many Thanks for help…………….

  6. Mehfooz on said:

    Good one, thanks !!!

  7. Prathamesh on said:

    hey man thanks a lot

  8. Vimal on said:

    Thank you friend..It helped me resolve the error!..

  9. Ram Prakash Soni on said:

    Thanks a lot…it worked for me too. :)

  10. Bob d builder on said:

    This is very helpful.

    Thanks.

  11. natnael on said:

    txs man u helped me alot………

  12. Archie on said:

    Thanks man, that saved me a lot of pain & time.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Password Reset

Please enter your e-mail address. You will receive a new password via e-mail.