Toad World® Forums

Can't initialize OCI. Error -1

hi am trying to connect to my 11g oracle database am geting the above error am in window xp my path is PATH=C:\product\11.2.0\dbhome_1;C:\product\11.2.0\dbhome_1\bin;C:\product\11.2.0
\dbhome_1\bin\oci.dll;C:\DevSuiteHome_1;C:\DevSuiteHome_1\BIN;C:\forms;C:\DevSui
teHome_1\jlib;C:\Program Files\PHP;C:\Program Files\PC Connectivity Solution;C:
\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Fi
les\Roxio Shared\DLLShared;C:\Program Files\Common Files\Roxio Shared\DLLShared;
C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared;C:\Program Files\Common
Files\DivX Shared;c:\Program Files\Java\jdk1.6.0_21\bin;C:\Program Files\Common
Files\Roxio Shared\10.0\DLLShared;C:\Program Files\Common Files\Roxio Shared\DL
LShared;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared;C:\mywls;C:\my
domain\base_domain\bin;C:\Program Files\Java\jre6\bin\client;C:\Program Files\Ja
va\jre6\bin;C:\Program Files\Java\jdk1.6.0_21\jre\bin;C:\Program Files\Java\jdk1
.6.0_21\bin;C:\Program Files\Java\jdk1.6.0_21;C:\Program Files\Java\jre6;C:\DevS
uiteHome_1\forms;C:\DevSuiteHome_1\cgenf61\admin;C:\DevSuiteHome_1\forms;C:\form
s\sms_code.pll;C:\mywls\wlserver\bin;C:\Java\jdk1.6.0_21

and my listener is # listener.ora Network Configuration File: C:\product\11.2.0\dbhome_1\network\admin\listener.ora

Generated by Oracle configuration tools.

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = “EXTPROC_DLLS=ONLY:C:\product\11.2.0\dbhome_1\bin\oraclr11.dll”)
)
)

RMAN =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = MADIMAD-B533821)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
)

SMSDEV =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = madimad-b533821)(PORT = 1521))
)
)

ADR_BASE_SMSDEV = C:

and my tnsname is
RMAN =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = madimad-b533821)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = rman)
)
)

SMSDEV =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = madimad-b533821)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = smsdev)
)
)
what could be the problem