I've installed Oracle 11.2.0 and Allround Automations' SQLDeveloper on Windows 7 64-bit.

When I run SQLDeveloper and and try to connect to Oracle, I get the below error:

Initialization error
Could not load "C:\app\MyComp\product\11.2.0\dbhome_1\bin\oci.dll"

OCIDLL forced to C:\app\MyComp\product\11.2.0\dbhome_1\bin\oci.dll
LoadLibrary(C:\app\MyComp\product\11.2.0\dbhome_1\bin\oci.dll) returned 0

What can be the problem?

link|improve this question
your question belongs on serverfault.com – Daniel A. White Mar 20 '11 at 19:13
feedback

migrated from stackoverflow.com Mar 21 '11 at 1:29

This question came from our site for professional and enthusiast programmers.

1 Answer

This happens because PL/SQL Developer is incapable of loading 64-bit version of oci.dll file. To fix this, download the 32-bit version of Oracle Instant Client, extract it to a directory such as \instant_client.

Next, configure PL/SQL Developer to use this version by clicking on Tool menus -> Preferences. Under Oracle Home, point to the location where you had extracted Instant client (\instant_client, in this case)  and under location of OCI Library, point to the oci.dll file present in location where you had extracted Instant client ( \instant_client\oci.dll). Restart PL/SQL Developer and you should be able to connect now.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown