Getting PL/SQL Developer on Windows 7 64bit to connect to an Oracle database

URL dieses Beitrags: http://blog.stefan-macke.com/2011/12/14/getting-plsql-developer-on-windows-7-64bit-to-connect-to-an-oracle-database/

After I installed the latest version of PL/SQL Developer on my Windows 7 64bit machine today, I got the following error message when trying to connect to an Oracle database:

Initialization error
Could not initialize "D:\oracle\product\11.2.0\client_1\bin\oci.dll"
Make sure you have the 32 bits Oracle Client installed.
PL/SQL Developer Windows 7 64bit Oci Error

As I’ve found out, the solution is to install (actually, simply extracting the archive is enough) the latest 32bit version of the Oracle Instant Client and configure PL/SQL Developer to use it instead of the 64bit Oracle client under Tools – Preferences.

PL/SQL Developer Windows 7 64bit Settings

I found this solution here: Fix Initialization Error: LoadLibrary oci.dll returned 0 while trying to connect to Oracle using PL/SQL Developer.

However, PL/SQL Developer didn’t recognize my tnsnames.ora anymore after I switched to the 32bit Instant Client. The solution is pretty simple: just create the directory network\admin in the 32bit Instant Client’s directory and copy your tnsnames.ora from the real Oracle client’s directory there.

Kommentare zu diesem Beitrag

  1. Gravatar Wael
    Am 12. Januar 2012 um 16:33 Uhr

    It worked great! I even didn’t change in tnsnames.ora. thanks for the blog!

  2. Gravatar archie
    Am 2. März 2012 um 10:07 Uhr

    Thanks, that was very fast and helpful

  3. Gravatar Mariana
    Am 9. Mai 2012 um 21:07 Uhr

    Hi!
    I had the same problem
    I juts did what you said. It worked once, when I firs logged in yesterday!
    But today, I tried to log in again, there was de following message error:
    “ORA-12514 TNS:listener does not currently know of service requested in connect descriptor.”
    Do you know what can I do to solve it?

    Best regards,

    Mary

Einen Kommentar schreiben

XHTML: Diese Tags sind erlaubt: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>