Oracle ORA-12557: TNS:protocol adapter not loadable

Filed in Oracle , Software , Technology , Windows Matter 0 comments

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
Posted by Far East   @   2 March 2010 0 comments
Tags : , , ,

Share This Post

RSS Digg Twitter StumbleUpon Delicious Technorati

0 Comments

No comments yet. Be the first to leave a comment !
Leave a Comment

Previous Post
« Common Oracle Error ORA-12560
Next Post
DIY – Upgrade BlackBerry Storm 9500 to v5.0 »
Delighted Black designed by Christian Myspace In conjunction with Ping Services   |   French Teacher Jobs   |   Maths Teacher Jobs