Can't initialize OCI. Error -1. Toad for Oracle 10 and Oracle 10g

Shyamkkhadka picture Shyamkkhadka · Jan 4, 2013 · Viewed 51.8k times · Source

I am trying to connect Oracle 10g database server from my client PC using toad 10 Commercial. I have Oracle 10g installed in my PC. When I try to connect, it gives error Can't initialize OCI.Error -1 . So far I am able to perform tnsping to the oracle server. I have all the settings working in my tnsnames.ora. Any suggestions are highly appreciated.

Thanks.

Answer

Shyamkkhadka picture Shyamkkhadka · Jan 4, 2013

Found the solution myself. The problem was with windows 7 permission issue. I opened Toad with run as administrator , privilege and the problem get solved.