Toad World® Forums

Can't initialize OCI. Error -1


#1

#2

Afternoon,

On 23/12/09 03:11, Sempurna Purba wrote:

Can’t initialize OCI. Error -1

you haven’t give us much to work with, but I suspect you either have no
oracle client installed, or, you are running a 64 bit Oracle client -
Toad needs a 32 bit client at the moment.

HTH

Cheers,
Norm. [TeamT]


Sempurna Purba
http://sempurna-purba.blogspot.com/

Lebih baik penghasilan sedikit disertai kebenaran, daripada penghasilan
banyak tanpa keadilan


#3

That is the problem - that’s exactly the error you get when no 32-bit client installed …

Some toad world blogs on these connection type issues:

http://www.toadworld.com/BLOGS/tabid/67/EntryID/488/Default.aspx

http://www.toadworld.com/BLOGS/tabid/67/EntryID/460/Default.aspx


#4

Evening BErt,

That is the problem - that’s exactly the error you get when no 32-bit
client installed … Some toad world blogs on these connection type
issues: http://www.toadworld.com/BLOGS/tabid/67/EntryID/488/Default.aspx
http://www.toadworld.com/BLOGS/tabid/67/EntryID/460/Default.aspx
Oh well, I guessed correctly! :slight_smile:

Happy Christmas Bert.
All the best for 2010.

I’m off abroad tomorrow very early, so you’ll all get a bit of peace
now! :wink:

Cheers,
Norm. [TeamT]


#5

#6

Morning Purba,

When I installed the Oracle Client and Toad on Windows XP
there is no problem, when i Installed it on Windows 7 i
found that error.

I’m not 100% sure, but I don’t think that Windows 7 has been validated
as a platform by Oracle yet. (I could be wrong, in which case other
Toadies will correct me!).

Toad itself has definitely not yet been validated on Windows 7. (Same
disclaimer applies though!)

Cheers,
Norm. [TeamT]

Information in this message may be confidential and may be legally privileged. If you have received this message by mistake, please notify the sender immediately, delete it and do not copy it to anyone else. We have checked this email and its attachments for viruses. But you should still check any attachment before opening it. We may have to make this message and any reply to it public if asked to under the Freedom of Information Act, Data Protection Act or for litigation. Email messages and attachments sent to or from any Environment Agency address may also be accessed by someone other than the sender or recipient, for business purposes. If we have sent you information and you wish to use it please read our terms and conditions which you can get by calling us on 08708 506 506. Find out more about the Environment Agency at www.environment-agency.gov.uk

Information in this message may be confidential and may be legally privileged. If you have received this message by mistake, please notify the sender immediately, delete it and do not copy it to anyone else.

We have checked this email and its attachments for viruses. But you should still check any attachment before opening it.
We may have to make this message and any reply to it public if asked to under the Freedom of Information Act, Data Protection Act or for litigation. Email messages and attachments sent to or from any Environment Agency address may also be accessed by someone other than the sender or recipient, for business purposes.

If we have sent you information and you wish to use it please read our terms and conditions which you can get by calling us on 08708 506 506. Find out more about the Environment Agency at www.environment-agency.gov.uk


#7

I think that’s right Norm, we’ll have to wait for the Windows release of 11gR2 for a 7 Oracle client.

Purba, if you are using Windows 7 Professional you can install XP Mode (basically a free XP virtual machine) and use that for Oracle and TOAD.

Kevin.


#8

I’m running Win7 64-bit and Toad 10(fully patched) and Oracle Client(full,
32-bit) 11.1.0.7 and connecting to 64-bit 10g and 11g databases w/o problem.

DM Flad, DBA
Office: 302.633.2694 Emergencies: 302.528.3652
“Please consider your environmental responsibility before printing this e-mail”
image002.png


#9

Toad 10.1.1 supports Win7, both 32 and 64 bit.


#10

Hi Jeff,

Toad 10.1.1 supports Win7, both 32 and 64 bit.
I stand corrected. Thanks.

This is a good thing, my new laptop - being delivered ‘any day now’ -
has Windows 7 64 bit. Not that I’ll be using that much of course!

Cheers,
Norm. [TeamT]

Information in this message may be confidential and may be legally privileged. If you have received this message by mistake, please notify the sender immediately, delete it and do not copy it to anyone else. We have checked this email and its attachments for viruses. But you should still check any attachment before opening it. We may have to make this message and any reply to it public if asked to under the Freedom of Information Act, Data Protection Act or for litigation. Email messages and attachments sent to or from any Environment Agency address may also be accessed by someone other than the sender or recipient, for business purposes. If we have sent you information and you wish to use it please read our terms and conditions which you can get by calling us on 08708 506 506. Find out more about the Environment Agency at www.environment-agency.gov.uk

Information in this message may be confidential and may be legally privileged. If you have received this message by mistake, please notify the sender immediately, delete it and do not copy it to anyone else.

We have checked this email and its attachments for viruses. But you should still check any attachment before opening it.
We may have to make this message and any reply to it public if asked to under the Freedom of Information Act, Data Protection Act or for litigation. Email messages and attachments sent to or from any Environment Agency address may also be accessed by someone other than the sender or recipient, for business purposes.

If we have sent you information and you wish to use it please read our terms and conditions which you can get by calling us on 08708 506 506. Find out more about the Environment Agency at www.environment-agency.gov.uk


#11

But still requires 32-bit client - even when using 64-bit Win7. This is critical - won’t work otherwise.


#12

So far Toad 10.1.1 and Oracle 32-bit Client ver 11.1 work fine with Win7 64-bit.

The Oracle Client installed complained a little that the OS was not certified but after clicking the check box to override the check it installed fine.

Ed
[TeamT]


#13

I’m running windows 7 with 3 clients (9, 10, 11) and I have yet to see any
connection-related problems. Maybe a 64-bit issue?


#14

Hello,

I solved the issue installing ODTwithODAC112021.zip :
–select Oracle Data Access Components for Oracle Client
–provide the Oracle destination folder c:\oracle
–uncheck Oracle Services for Microsoft Transaction Server

a+, =)
-=Clement=-

Configuration :
Toad For Oracle 10.5
Windows 7 Professional x86 Service Pack 1

nb : the Rich formatting does not work ; I was not able to remove bold


#15

running win7 64 bit
installed ocracle client 11.2 32bit
installed TOAD 11.6.0.43
but
still getting the error:
Can’t initialize OCI. Error -1

Can someone help me troubleshoot this problem?
Thanks

  • Herman

#16

What version of Toad are you on?

In some cases this can be caused by a dependency the client has on the MS VC++ Redistributable. You could try to install it and see if that helps. If you’re using 32-bit client and Toad then use
this one. If using 64-bit use
this one.

If that doesn’t work and you’re on Toad 12.5 or older you could upgrade to 12.6 or temporarily download/install the
latest Toad freeware. 12.6 introduced additional error reporting if additional messages are available. Reproduce in 12.6 and perhaps you’ll get a more useful message.

On 10/30/2014 11:41 AM, rb9594 wrote:

Can’t initialize OCI. Error -1

Thread created by rb9594
All,

Can someone help me with this error i am having when running toad. Trying to connect to the DB and soon as i hit connect I get this error

I googled this error and tried 2 things

-Running Toad as Administrator, didn’t work

-Checked oracle_home directory, this is set correctly

Any suggestions.

To reply, please reply-all to this email.

Stop receiving emails on this subject.

Or
Unsubscribe from Toad for Oracle - General
notifications altogether.

Toad for Oracle - Discussion Forum

Flag
this post as spam/abuse.


#17

guys i have a windows 7 machine, toad 11.0.0.16, oracle client 32 bit 11.2.0.2


#18

I would try the VC++ 2010 redistributable first, x86 (32-bit) version. It’s a small download and install. Next, I’d grab 12.6 freeware to reproduce in case additional messages are available.

On 10/30/2014 12:14 PM, rb9594 wrote:

RE: Can’t initialize OCI. Error -1

Reply by rb9594
guys i have a windows 7 machine, toad 11.0.0.16, oracle client 32 bit 11.2.0.2

To reply, please reply-all to this email.

Stop receiving emails on this subject.

Or
Unsubscribe from Toad for Oracle - General
notifications altogether.

Toad for Oracle - Discussion Forum

Flag
this post as spam/abuse.


#19

Running windows 7 64 bit machine, have toad 11.0.0.16, have oracle client 32 bit 11.2.0.2

-tried running as administrator, still get error

-verified home directory, still getting error


#20

If you have any other Oracle clients installed, check to make sure that the one you want to use in Toad is first in your path. Normally you shouldn’t have to do this but there are a few kinds of Oracle clients out there that came with an instant and non-instant together that caused problems for Toad.