# Can't initialize OCI. Error -1

**URL:** <https://forums.toadworld.com/t/cant-initialize-oci-error-1/10932>\
**Category:** Toad for Oracle & DevOps Toolkit\
**Created:** [December 18, 2011, 11:16pm UTC](https://forums.toadworld.com/t/cant-initialize-oci-error-1/10932 "2011-12-18T23:16:43Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![arun.gollamudi.1\_000](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@arun.gollamudi.1\_000](https://forums.toadworld.com/u/arun.gollamudi.1_000)\
**Post date:** [December 18, 2011, 11:16pm UTC](https://forums.toadworld.com/t/cant-initialize-oci-error-1/10932/1 "2011-12-18T23:16:43Z")

</div>

Hi,

```
    I installed Toad 9.5 version successfully on Windows 7 Home Premium 64 bit and I am using Oracle 10g database. The very initial time i could able to login and working using Toad. Later one I am unable to login. I am facing the error "Can't initialize OCI. Error -1". I am using to connect to the database installed in my personal laptop.

    Request you to help me in fixing the issue.

```

Thanks in advance,  
Arun Kumar.

---

<div class="post-metadata">

**Author:** ![Guest](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@Guest](https://forums.toadworld.com/u/Guest)\
**Post date:** [December 20, 2011, 1:14pm UTC](https://forums.toadworld.com/t/cant-initialize-oci-error-1/10932/2 "2011-12-20T13:14:35Z")

</div>

Right click on toad icon , choose “Run as Administrator”

Thanks

---

<div class="post-metadata">

**Author:** ![Guest](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@Guest](https://forums.toadworld.com/u/Guest)\
**Post date:** [December 23, 2011, 5:20am UTC](https://forums.toadworld.com/t/cant-initialize-oci-error-1/10932/3 "2011-12-23T05:20:06Z")

</div>

Message from: hwj\_140

is there any oter soultions to this problem, I got the same problem and I  
can’t give all users administrator rights on the computer that program is  
running on

* * *

Historical Messages

Author: hwj\_140  
Date: Fri Dec 23 03:20:06 PST 2011  
is there any oter soultions to this problem, I got the same problem and I  
can’t give all users administrator rights on the computer that program is  
running on  
\_\_

Author: Syed Rahman  
Date: Tue Dec 20 11:14:35 PST 2011  
Right click on toad icon , choose “Run as Administrator” Thanks  
\_\_

Author: arun.gollamudi.1\_000  
Date: Sun Dec 18 21:16:43 PST 2011  
Hi, I installed Toad 9.5 version successfully on Windows 7 Home Premium 64 bit  
and I am using Oracle 10g database. The very initial time i could able to login  
and working using Toad. Later one I am unable to login. I am facing the error  
“Can’t initialize OCI. Error -1”. I am using to connect to the database  
installed in my personal laptop. Request you to help me in fixing the issue.  
Thanks in advance, Arun Kumar.  
\_\_

* * *

---

<div class="post-metadata">

**Author:** ![hwj\_140](https://avatars.discourse-cdn.com/v4/letter/h/85f322/32.png) [@hwj\_140](https://forums.toadworld.com/u/hwj_140)\
**Post date:** [December 23, 2011, 5:20am UTC](https://forums.toadworld.com/t/cant-initialize-oci-error-1/10932/4 "2011-12-23T05:20:06Z")

</div>

is there any oter soultions to this problem, I got the same problem and I can’t give all users administrator rights on the computer that program is running on

---

<div class="post-metadata">

**Author:** ![NormTeamT](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/normteamt/32/53_2.png) [@NormTeamT](https://forums.toadworld.com/u/NormTeamT)\
**Post date:** [January 3, 2012, 7:32am UTC](https://forums.toadworld.com/t/cant-initialize-oci-error-1/10932/5 "2012-01-03T07:32:13Z")

</div>

On 19/12/11 05:16, arun.gollamudi.1\_000 wrote:

> Hi, I installed Toad 9.5 version successfully on Windows 7 Home Premium  
> 64 bit and I am using Oracle 10g database. The very initial time i could  
> able to login and working using Toad. Later one I am unable to login. I  
> am facing the error "Can't initialize OCI. Error -1". I am using to  
> connect to the database installed in my personal laptop. Request you to  
> help me in fixing the issue. Thanks in advance, Arun Kumar.  
> Toad is a 32 bit application (at the moment) and as such requires a 32  
> bit client (Oracle Client) to enable it to talk to databases which may  
> be running on 32 or 64 bit servers.

If you have a 64 bit Oracle Client installed on your desktop/laptop then  
you will see this error whenever you attempt to connect with Toad to a  
database.

HTH

--  
Cheers,  
Norm. [TeamT]

---

<div class="post-metadata">

**Author:** ![Guest](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@Guest](https://forums.toadworld.com/u/Guest)\
**Post date:** [January 3, 2012, 12:44pm UTC](https://forums.toadworld.com/t/cant-initialize-oci-error-1/10932/6 "2012-01-03T12:44:36Z")

</div>

I was thinking it was the 64 vs 32 bit issue as well but stumbled over the  
information that indicated a successful connection the first time.

Here’s a possibility that might explain that anomaly:

Upon first connection a different (the 32 bit) client was selected. The 64 bit  
client is set as the default and has been used since. This would explain why a  
first connection would work and every connection after that would fail.

Roger S.

---

<div class="post-metadata">

**Author:** ![rimsha](https://avatars.discourse-cdn.com/v4/letter/r/58956e/32.png) [@rimsha](https://forums.toadworld.com/u/rimsha)\
**Post date:** [July 29, 2012, 6:49am UTC](https://forums.toadworld.com/t/cant-initialize-oci-error-1/10932/7 "2012-07-29T06:49:07Z")

</div>

Right-click the Toad for Oracle shortcut and select “Run as Administrator” to avoid the error.

---

<div class="post-metadata">

**Author:** ![Here1sTheMatrix](https://avatars.discourse-cdn.com/v4/letter/h/49beb7/32.png) [@Here1sTheMatrix](https://forums.toadworld.com/u/Here1sTheMatrix)\
**Post date:** [November 29, 2012, 4:57pm UTC](https://forums.toadworld.com/t/cant-initialize-oci-error-1/10932/8 "2012-11-29T16:57:35Z")

</div>

The perfect! Toad 10.6 on client 10.2.0 on windows 7 works now!

---

<div class="post-metadata">

**Author:** ![deepakdahatonde](https://avatars.discourse-cdn.com/v4/letter/d/b5e925/32.png) [@deepakdahatonde](https://forums.toadworld.com/u/deepakdahatonde)\
**Post date:** [April 23, 2014, 8:12am UTC](https://forums.toadworld.com/t/cant-initialize-oci-error-1/10932/9 "2014-04-23T08:12:06Z")

</div>

Solution:-- Simple once.

Go to control panel\>\>Administrative tools\>\>Local Security Policies (Run this as a administrator)

Navigate to below Local Policies\>\>User Rights Assignment\>\>Create Global Objects

Add users windows ID by which he logged in to computer…

Apply\>\>OK

Now restart computer to take effect… That’s it…

Send me replies if it works for you…

---

<div class="post-metadata">

**Author:** ![mstaszew](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/mstaszew/32/23_2.png) [@mstaszew](https://forums.toadworld.com/u/mstaszew)\
**Post date:** [May 26, 2015, 7:59am UTC](https://forums.toadworld.com/t/cant-initialize-oci-error-1/10932/10 "2015-05-26T07:59:48Z")

</div>

Send the contents of your Support Bundle. It’s available from the Help menu within Toad.

SQL Developer doesn’t use OCI to connect so it cannot be compared to Toad in this case.

Michael

**From:** cfb73 [[mailto:bounce-cfb73@toadworld.com](mailto:bounce-cfb73@toadworld.com)]

**Sent:** Tuesday, May 26, 2015 10:57 AM

**To:** [toadoracle@toadworld.com](mailto:toadoracle@toadworld.com)

**Subject:** [Toad for Oracle - Discussion Forum] Can’t initialize OCI. Error -1

**[Can’t initialize OCI. Error -1](http://www.toadworld.com/products/toad-for-oracle/f/10/t/24603.aspx)**

Thread created by cfb73

Today I siwtch on the computer and TOAD seems to upgrade itself when I tried to load it. Once the loading process was complete I had lost all my connections and passwords.

So I tried to manually type in the connection details. Each time I get:

Can’t initialize OCI. Error -1

Yes I have looked at other threads but have not found anything relevant.

I’ve unistalled TOAD and loaded back in without any success. The confusing issue is I can use SQL Developer without any issues. So, to my limited knowledge, the clients are OK.

Im not convinced its a PATH issue either since I can run Crystal Reports 2008 (32 bit) without issue and dont want to mess up the configuration.

Any thoughts?

To reply, please reply-all to this email.

[Stop receiving emails](http://www.toadworld.com/products/toad-for-oracle/f/10/t/24603.aspx?subscribe=false) on this subject.

Or [  
Unsubscribe from Toad for Oracle - General](http://www.toadworld.com/products/toad-for-oracle/f/10.aspx?subscribe=false) notifications altogether.

Toad for Oracle - Discussion Forum

[Flag](http://www.toadworld.com/products/toad-for-oracle/f/10/t/24603.aspx?AbuseContentId=32b7cfe3-ddeb-4a22-8ec5-cffefdcb776f&AbuseContentTypeId=46448885-d0e6-4133-bbfb-f0cd7b0fd6f7&AbuseFlag=true)  
this post as spam/abuse.

![](http://04j0.mj.am/o/04j0/1d52f208/inrw7x7e.gif)
