# Cannot load OCI: C:\\Oracle\\product\\12.2.0\\client\_1\\BIN\\OCI.dll

**URL:** <https://forums.toadworld.com/t/cannot-load-oci-c-oracle-product-12-2-0-client-1-bin-oci-dll/47830>\
**Category:** Toad for Oracle & DevOps Toolkit\
**Created:** [October 10, 2019, 1:06pm UTC](https://forums.toadworld.com/t/cannot-load-oci-c-oracle-product-12-2-0-client-1-bin-oci-dll/47830 "2019-10-10T13:06:46Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![JohnDorlon](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/johndorlon/32/9997_2.png) [@JohnDorlon](https://forums.toadworld.com/u/JohnDorlon)\
**Post date:** [October 10, 2019, 1:29pm UTC](https://forums.toadworld.com/t/cannot-load-oci-c-oracle-product-12-2-0-client-1-bin-oci-dll/47830/8 "2019-10-10T13:29:57Z")

</div>

Well that simplifies things. Toad 13.1 should work with that client.

I wonder if something is off in the registry. I have done the following with success when I've had client problems.

Note: Before doing the following, see if you have a file called `oraaccess.xm`l in the same location as your `sqlnet.ora` and `tnsnames.ora` files. This file does not need to be present, but if it is present, any mistakes in the file (or an empty file) will cause the dreaded "Can't initialize OCI. Error -1" error.

1. Use the deinstaller to deinstall the 12.2 client
2. Make sure there is no trace of any oracle client on your computer:

- Hard drive (check where it was installed, and also look under Program Files and Program Files (x86)
- System path
- Registry: If either of these are still present after deinstall, make sure all clients are deinstalled. Then remove these registry hives if they still exist.
  - HKLM\SOFTWARE\ORACLE.
  - HKLM\SOFTWARE\Wow6432Node\ORACLE.

- Environment Variables: Any oracle-related environment variables (except TNS\_ADMIN) should be removed.

1. Reboot
2. Reinstall oracle client.  
If you have 64 bit Toad, you must use 64 bit Oracle client.  
If you have 32 bit Toad, you must use 32 bit Oracle client.

---

_[View the full topic](https://forums.toadworld.com/t/cannot-load-oci-c-oracle-product-12-2-0-client-1-bin-oci-dll/47830)._
