ORA-12560: TNS: protocol adapter error while linking tables in Access
One of my app dev is encountering an interesting error message while linking Oracle tables from Access. I am not able to able to reproduce this in my desktop or anywhere else. Details enclosed. Can you guys point me to a solution? Thanks in advance!
ODBC: Oracle Client version 10.2.0.1
Desktop : Win XP ; Access 2003
=>Able to login to the Oracle database sucessfully using sqlplus.
=>Able to create an ODBC datasource to Oracle database.("Test Connection" works fine)
=>But encountering the TNS protocol adpater error while linking the table(Access->File->Get External Data-> Link tables).
=>Not able to link any table in any schema in any Oracle database. Hence this is not a data centric issue.
What did I do?
=> Uninstalled Oracle 8 client and installed Oracle 10 client. No luck. Encountering the same error.
=> Turned on the ODBC trace and reproduced the error. The log is enclosed:
MSACCESS 79c-ed4 ENTER SQLAllocEnv
HENV * 0013C620
MSACCESS 79c-ed4 EXIT SQLAllocEnv with return code 0 (SQL_SUCCESS)
HENV * 0x0013C620 ( 0x09d31788)
MSACCESS 79c-ed4 ENTER SQLAllocConnect
HENV 09D31788
HDBC * 0013C730
MSACCESS 79c-ed4 EXIT SQLAllocConnect with return code 0 (SQL_SUCCESS)
HENV 09D31788
HDBC * 0x0013C730 ( 0x09d31830)
MSACCESS 79c-ed4 ENTER SQLSetConnectOption
HDBC 09D31830
SQLINTEGER 103 <SQL_LOGIN_TIMEOUT>
SQLPOINTER 0x00000014
MSACCESS 79c-ed4 EXIT SQLSetConnectOption with return code 0 (SQL_SUCCESS)
HDBC 09D31830
SQLINTEGER 103 <SQL_LOGIN_TIMEOUT>
SQLPOINTER 0x00000014 (BADMEM)
MSACCESS 79c-ed4 ENTER SQLSetConnectAttrW
SQLHDBC 09D31830
SQLINTEGER 30002 <unknown>
SQLPOINTER [Unknown attribute 30002]
SQLINTEGER -3
MSACCESS 79c-ed4 EXIT SQLSetConnectAttrW with return code 0 (SQL_SUCCESS)
SQLHDBC 09D31830
SQLINTEGER 30002 <unknown>
SQLPOINTER [Unknown attribute 30002]
SQLINTEGER -3
MSACCESS 79c-ed4 ENTER SQLDriverConnectW
HDBC 09D31830
HWND 001D04E4
WCHAR * 0x74329A38 [ -3] "******\ 0"
SWORD -3
WCHAR * 0x74329A38
SWORD 2
SWORD * 0x00000000
UWORD 1 <SQL_DRIVER_COMPLETE>
MSACCESS 79c-ed4 EXIT SQLDriverConnectW with return code -1 (SQL_ERROR)
HDBC 09D31830
HWND 001D04E4
WCHAR * 0x74329A38 [ -3] "******\ 0"
SWORD -3
WCHAR * 0x74329A38
SWORD 2
SWORD * 0x00000000
UWORD 1 <SQL_DRIVER_COMPLETE>
DIAG [S1000] [Oracle][ODBC][Ora]ORA-12560: TNS: protocol adapter error (12560)
DIAG [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed (0)
DIAG [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed (0)
MSACCESS 79c-ed4 ENTER SQLErrorW
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638
WCHAR * 0x047EE8B8
SWORD 4095
SWORD * 0x0013C624
MSACCESS 79c-ed4 EXIT SQLErrorW with return code 0 (SQL_SUCCESS)
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638 (12560)
WCHAR * 0x047EE8B8 [ 126] "[Oracle][ODBC][Ora]ORA-12560: TNS: protocol adapter error\ a\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0"
SWORD 4095
SWORD * 0x0013C624 (126)
MSACCESS 79c-ed4 ENTER SQLErrorW
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638
WCHAR * 0x047EE950
SWORD 4019
SWORD * 0x0013C624
MSACCESS 79c-ed4 EXIT SQLErrorW with return code 0 (SQL_SUCCESS)
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638 (0)
WCHAR * 0x047EE950 [ 66] "[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed"
SWORD 4019
SWORD * 0x0013C624 (66)
MSACCESS 79c-ed4 ENTER SQLErrorW
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638
WCHAR * 0x047EE9E6
SWORD 3944
SWORD * 0x0013C624
MSACCESS 79c-ed4 EXIT SQLErrorW with return code 0 (SQL_SUCCESS)
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638 (0)
WCHAR * 0x047EE9E6 [ 66] "[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed"
SWORD 3944
SWORD * 0x0013C624 (66)
MSACCESS 79c-ed4 ENTER SQLErrorW
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638
WCHAR * 0x047EEA7C
SWORD 3869
SWORD * 0x0013C624
MSACCESS 79c-ed4 EXIT SQLErrorW with return code 100 (SQL_NO_DATA_FOUND)
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638
WCHAR * 0x047EEA7C
SWORD 3869
SWORD * 0x0013C624
MSACCESS 79c-ed4 ENTER SQLFreeConnect
HDBC 09D31830
MSACCESS 79c-ed4 EXIT SQLFreeConnect with return code 0 (SQL_SUCCESS)
HDBC 09D31830
Edited by: user5598619 on Feb 10, 2009 5:37 PM
Thanks a lot for your quick reply.
I've read all the posts mentioned (quite a few more) but I couldn't find any suggested solution to the "non-oracle10g"-problem other than using the global db name instead of the sid - which didn't help in our case:
However, in a last desperate attempt to solve the problem on my own before launching another cry-for-help-post I did try running the configuration assistant using the correct password for the SYS user 8-} and - strange but true - it did work :-)
Needless to say: I used the global db name of course, so I can't say what would have happened without it, but I trust your hint was a legitimate one.
Anyway - I gues that error Message concerning a "non-oracle10g database" was slightly misleading in this case.... grrrr.
Andreas
Similar Messages
-
ORA-12560: TNS:protocol adapter error while running Oracle Form 10g over IE
Hi,
I am getting the following error message while running my form over Internet Explorer. What could be the error and the solution.
ORA-12560: TNS:protocol adapter error
I am using the same user id/password that i used to create the database.
Plz help.
thanks,
RVunless you defined the TWO_TASK in your environment, you might need to provide it during the login. The typical Forms login screen has 3 fields, username/password and TWO_TASK , which is the alias used for the database server in the tnsnames.ora file on your end. If you are using iAS forms, then a proper RAD (Resource Access Descriptor) needs to be created by the DBA or whoever manages the iAS server. This is only if SSO is utilized, if not, then you need to provide TWO_TASK as well.
Hope this proves useful
R/ Zafer -
ORA-12560 TNS: Protocol adapter error while installing database
Hello,
I'm having troubles while installing my oracle database 10g. My server is SUN OS 5.10
When I am in the copying datafiles step, a pop up message shows up [ORA-12560 TNS: Protocol adapter error]
Could you please help me?I am creating the database the database.
I am relatively new in Oracle but I have created a DB before and the ORACLE_SID was set after the database was created.
The steps I execute for are:
1. Install the Oracle engine (without create the DB)
2. Install the Patch
3. Create the database (dbca)
After the database is created, appears a popup (Database configuration assistance warning) where it says to set the oracle_sid among others steps.
Is it mandatory to set the ORACLE_SID before? some other configuration that I could be missing?
Thank you -
ORA-12560: TNS:protocol adapter error while configuring ORACLE Workflow
Hi,
I am trying to configure ORACLE Workflow. I have given sys password and other parameters in the given format in Workflow Configuration Assistant. My DB Server is in my local network and I connect to it using SID in SQL Plus. But I got the following error while WorlflowCA tries to execute relevant script.
ERROR:
ORA-12560: TNS:protocol adapter error
SP2-0640: Not connected
WorkflowCA: Non-Oracle10g database detected
If anybody is having any clues, please help me.
Thanks in advance
Ajish M.Thanks a lot for your quick reply.
I've read all the posts mentioned (quite a few more) but I couldn't find any suggested solution to the "non-oracle10g"-problem other than using the global db name instead of the sid - which didn't help in our case:
However, in a last desperate attempt to solve the problem on my own before launching another cry-for-help-post I did try running the configuration assistant using the correct password for the SYS user 8-} and - strange but true - it did work :-)
Needless to say: I used the global db name of course, so I can't say what would have happened without it, but I trust your hint was a legitimate one.
Anyway - I gues that error Message concerning a "non-oracle10g database" was slightly misleading in this case.... grrrr.
Andreas -
ORA-12560: TNS:protocol adapter error while creating new database
Hi,
I installed Oracle Enterprise Manager 10g Grid Control Release 1 (10.1.03) and created the default database it had which was emrep. Once Oracle Grid Control was installed I ran the install for Oracle Database 10g Release 1 (10.1.0.2).
Now when I try to create a database I get the following error: ORA-12560: TNS:protocol adapter error.
My assumption is because I seem to have 2 Oracle home's now because I installed the Grid Control??
My question is, have I done this backwards? Should I install Oracle 10g before installing the grid control? If thats not it, can someone point me in the right direction?
FYI: The server we're using is running Windows Server 2003.
Thanks for your helpEnv variables are as follows:
ClusterLog = C:\WINDOWS\Cluster\cluster.log
ComSpec = %SystemRoot%\system32\cmd.exe
FP_NO_HOST_CHECK = NO
JSERV = D:\Oracle\Ora92/Apache/Jserv/conf
NUMBER_OF_PROCESSORS = 4
ORACLE_HOME = D:\Oracle\Ora10gGC
OS = Windows_NT <-- its actually Windows Server 2003
Path = D:\Oracle\Ora10g\bin;D:\Oracle\Ora10g\jre\1.4.2\bin\client;D:\Oracle\Ora10g\jre\1.4.2\bin;D:\Oracle\agent\bin;D:\Oracle\agent\oui\lib\win32;D:\Oracle\agent\jlib;D:\Oracle\agent\bin;D:\Oracle\agent\jre\1.4.2\bin\client;D:\Oracle\agent\jre\1.4.2\bin;D:\Oracle\Ora10gGC\bin;D:\Oracle\Ora10gGC\jlib;D:\Oracle\Ora10gGC\jre\1.1.8\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
Pathext = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PERL5LIB = D:\Oracle\Ora10g\perl\lib\5.6.1\MSWin32-x86;D:\Oracle\Ora10g\perl\lib\5.6.1;D:\Oracle\Ora10g\perl\5.6.1\lib\MSWin32-x86;D:\Oracle\Ora10g\perl\site\5.6.1;D:\Oracle\Ora10g\perl\site\5.6.1\lib;D:\Oracle\Ora10g\sysman\admin\scripts
WV_GATEWAY_CFG = D:\Oracle\Ora92\Apache\modplsql\cfg\wdbsvr.app -
ORA-12560: TNS: protocol adapter error while installation
Hi,
I'm a newbie..
I installed Oracle 10g to my WinXP but there is a problem with error "ORA-12560:TNS:protocol adapter error":
I can't create the starter database..when i try to do that i get the error "ORA-12560:TNS:protocol adapter error"...
i trace back the error log and find:
oracle.sysman.emca..........
SEVERE: job_queue_process must be greater than 1.
Also, in my windows services, i don't find any service with name "Oracle10g<SID>"
please help me asap.
Thanks,
PankajHi
read this article
http://www.experts-exchange.com/Databases/Oracle/Q_21148649.html
At the end, seems there is a solution for you. -
ORA-12560:TNS protocol adapter Error while upgrading oracle 8i to Oracle 9i
Hi,
I am updrading My oracle 8i setup to Oracle 9i in the Windows operaton System.During the upgradation in the Database upgrade Assistant,The installer asked for the system authetication for upgrading the existing database.After proving the Username and password i am getting an error as ORA-12560:TNS protocol adapter Error .Please help me about what do I need to modify.
Thanks in Advance,
AnjelaHi,
Here are the output
SQL> select * from v$version;
BANNER
Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
PL/SQL Release 8.1.7.0.0 - Production
CORE 8.1.7.0.0 Production
TNS for 32-bit Windows: Version 8.1.7.0.0 - Production
NLSRTL Version 3.4.1.0.0 - Production
SQL> select version from v$instance;
select version from v$instance
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> select comp_id,version,status from dba_registry;
select comp_id,version,status from dba_registry
ERROR at line 1:
ORA-00942: table or view does not exist
Thanks,
Anjela -
ORA-12560: TNS:protocol adapter error error while using BR*tools
Hi,
I am trying to use BRtools to display instance status (option 6 within Instance Management menu). We are running on Oracle 10g and SAP 4.6c (BRtools version 7.0 patch 13). SAP is running on Windows 2003 cluster environment.
I checked lsnrctl status with following output..
LSNRCTL for 64-bit Windows: Version 10.2.0.2.0 - Production on 19-FEB-200
:06
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=172.20.0.
PORT=1527))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 10.2.0.2.0
ction
Start Date 07-FEB-2009 19:51:03
Uptime 11 days 19 hr. 42 min. 2 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\oracle\PR1\102\network\admin\listener.ora
Listener Log File C:\oracle\PR1\102\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.20.0.140)(PORT=1527)))
The listener supports no services
The command completed successfully
BRspace error reads as below
BR1001I BRSPACE 7.00 (13)
BR1002I Start of BRSPACE processing: sdzysjut.dbw 2009-02-19 15.35.43
BR0280I BRSPACE time stamp: 2009-02-19 15.35.44
BR0301E SQL error -12560 at location BrDbaConnect-2
ORA-12560: TNS:protocol adapter error
BR0310E Connect to database instance PR1 failed
BR0700E Fatal errors occurred - terminating processing...
Could you please let me know if I need to make any changes to current configuration to make it work.
I appreciate all your help,
Thanks,
JitendraHi Rohit,
Here are my listener file contents
LISTENER =
(ADDRESS_LIST=
(ADDRESS=
(PROTOCOL=IPC)
(KEY=PR1)
(ADDRESS=
(PROTOCOL=IPC)
(KEY=PR1.WORLD)
(ADDRESS=
(COMMUNITY=SAP.WORLD)
(PROTOCOL=TCP)
(Host=xxx.xx.x.xxx)
(Port=1527)
SID_LIST_LISTENER =
(SID_LIST=
(SID_DESC=
(SDU=32768)
(SID_NAME=PR1)
(ORACLE_HOME=C:\oracle\PR1\102)
Fsldbprd =
(ADDRESS_LIST=
(ADDRESS=
(PROTOCOL=IPC)
(KEY=PR1)
(ADDRESS=
(PROTOCOL=IPC)
(KEY=PR1.WORLD)
(ADDRESS=
(COMMUNITY=SAP.WORLD)
(PROTOCOL=TCP)
(Host=xxx.xx.x.xxx)
(Port=1527)
SID_LIST_Fsldbprd =
(SID_LIST=
(SID_DESC=
(SDU=32768)
(SID_NAME=PR1)
(ORACLE_HOME=C:\oracle\PR1\102)
TRACE_LEVEL_LISTENER = OFF
CONNECT_TIMEOUT_LISTENER = 10
STARTUP_WAIT_TIME_LISTENER = 0
And here is the output of lsnrctl status command after making above changes
STATUS of the LISTENER
Alias Fsldbprd
Version TNSLSNR for 64-bit Windows: Version 10.2.0.2.0 -
ction
Start Date 19-FEB-2009 19:39:12
Uptime 0 days 0 hr. 14 min. 16 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\oracle\PR1\102\network\admin\listener.ora
Listener Log File C:\oracle\PR1\102\network\log\fsldbprd.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=
.\pipe\PR1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=
.\pipe\PR1.WORLDipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxx.xx.x.xxx)(PORT=1527)))
Services Summary...
Service "PR1" has 2 instance(s).
Instance "PR1", status UNKNOWN, has 1 handler(s) for this service...
Instance "pr1", status READY, has 1 handler(s) for this service...
Service "PR1_XPT" has 1 instance(s).
Instance "pr1", status READY, has 1 handler(s) for this service...
The command completed successfully
In Cluster admin Oracle listener name is defined as Fsldbprd.
Please let me know if you need any additional information and thanks for looking into this issue.
Regards,
Jitendra
Edited by: Jitendra Kulkarni on Feb 20, 2009 1:03 AM -
Ora 12560 tns protocol adapter error database DBCA fails
hi,
while creating database in oracle 11.2.0.1 using DBCA i am getting following error.
ora 12560 tns protocol adapter error
i am using administrator userid . any soultion for thishi,
i can't post full alert log file. the last lap of alert log file given below
Repeat 6 times
size_t dbktBufferLen_ [00F79E5C0, 00F79E5C8) = 00000016 00000000
sword dbkt_tfi_ [00F7A1750, 00F7A1754) = 0000094F
sword dbkt_tfp_ [00F7A1754, 00F7A1758) = 00000950
sword dbkt_fmdb_ [00F7A1758, 00F7A175C) = 00000951
sword dbktCtrlPrm_ [00F7A175C, 00F7A1760) = 00000952
sword dbktb_param_pool_size_ [00F7A1760, 00F7A1764) = 00000953
sword dbktb_param_in_mem_on_ [00F7A1764, 00F7A1768) = 00000954
struct dbgdEventGrp * dbkdpeg_ [00F79E5C8, 00F79E5D0) = 00000000 00000000
ub8 dbkdpsvn_ [00F79E5D0, 00F79E5D8) = 00000000 00000000
struct dbgdFastChkDesc * dbkdpefc_ [00F79E5D8, 00F79E5E0) = 00000000 00000000
struct dbgdEventGrp * dbkdpaeg_ [00F79E5E0, 00F79E5E8) = 00000000 00000000
ub4 dbkdflg_ [00F7A1768, 00F7A176C) = 00000000
sword dbkdsepf_ [00F7A176C, 00F7A1770) = 00000955
sword dbkdesue_ [00F7A1770, 00F7A1774) = 00000956
kxdam_pga * kxdam_pgap_ [00F79E5E8, 00F79E5F0) = 00000000 00000000
sword kxdam_enable_ [00F7A1774, 00F7A1778) = 00000957
sword kxdam_ioctl_bufsz_ [00F7A1778, 00F7A177C) = 00000958
sword kxdam_slv_req_ntries_ [00F7A177C, 00F7A1780) = 00000959
sword kxdam_enable_online_all_ [00F7A1780, 00F7A1784) = 0000095A
sword ksmpgl_ [00F7A1784, 00F7A1788) = 00000000
----- Dump of the Fixed Generic PGA -----
kgsms * kgsmsp_ [00F77C950, 00F77C958) = 00000000 00000000
kgsmu * kgsmup_ [00F77C958, 00F77C960) = 00000000 00000000
kghds * kgsmpg_ [00F77C960, 00F77C968) = 0F77C650 00000000
Dump of memory from 0x00F77C650 to 0x00F77C690
00F77C650 00000000 00000000 000020C0 00000000 [......... ......]
00F77C660 00000000 00000000 0DE90F18 00000000 [................]
00F77C670 0DE90F78 00000000 00000000 00000000 [x...............]
00F77C680 00000000 00000000 02120200 00000000 [................]
void * kgsmp0_ [00F77C968, 00F77C970) = 00000000 00000000
void * kgsmp1_ [00F77C970, 00F77C978) = 00000000 00000000
void * kgsmp2_ [00F77C978, 00F77C980) = 00000000 00000000
void * kgsmp3_ [00F77C980, 00F77C988) = 00000000 00000000
void * kgsmp4_ [00F77C988, 00F77C990) = 00000000 00000000
void * kgsmp5_ [00F77C990, 00F77C998) = 00000000 00000000
void * kgsmp6_ [00F77C998, 00F77C9A0) = 00000000 00000000
void * kgsmp7_ [00F77C9A0, 00F77C9A8) = 00000000 00000000
void * kgsmp8_ [00F77C9A8, 00F77C9B0) = 00000000 00000000
void * kgsmp9_ [00F77C9B0, 00F77C9B8) = 00000000 00000000
ub4 kgsmpx_ [00F77C9B8, 00F77C9BC) = 00000000
ub4 kgsmpy_ [00F77C9BC, 00F77C9C0) = 00000000
void * kgsmpz_ [00F77C9C0, 00F77C9C8) = 00000000 00000000
kghpg kghpga_ [00F77C9C8, 00F77CA80) = 00000000 00000000 00000000 00000000 ...
Dump of memory from 0x00F77C9D8 to 0x00F77CA80
00F77C9D0 09B45320 00000000 [ S......]
00F77C9E0 00001000 00000000 00000000 00000000 [................]
00F77C9F0 00000000 00000000 00000000 00000000 [................]
00F77CA00 00000014 00000000 00000018 00000000 [................]
00F77CA10 00000000 00000000 00AA9628 000000FF [........(.......]
00F77CA20 00000000 00000000 00000000 00000000 [................]
Repeat 5 times
kghmpg kghmpga_ [00F77CA80, 00F77CAA0) = 00000000 00000000 00000000 ...
Dump of memory from 0x00F77CA8C to 0x00F77CAA0
00F77CA80 00000000 [....]
00F77CA90 00000000 00000000 00000000 00000000 [................]
kghmprotpg kghmprotpga_ [00F77CAA0, 00F77CACC) = 00000000 00000000 00000000 ...
Dump of memory from 0x00F77CAAC to 0x00F77CACC
00F77CAA0 00000000 [....]
00F77CAB0 00000000 00000000 00000000 00000000 [................]
00F77CAC0 00000000 00000000 00000000 [............]
kghstpg kghstpga_ [00F77CAD0, 00F77CAE8) = 80038000 00000000 00000000 ...
Dump of memory from 0x00F77CADC to 0x00F77CAE8
00F77CAD0 00000000 [....]
00F77CAE0 06E237B0 00000000 [.7......]
ub4 kghstdeszpga_ [00F77CAE8, 00F77CAEC) = 00000000
kgefa * kgefac_ [00F77CAF0, 00F77CAF8) = 00000000 00000000
lxglo * kgelxg_ [00F77CAF8, 00F77CB00) = 0F7805F0 00000000
Dump of memory from 0x00F7805F0 to 0x00F780630
00F7805F0 0F79E278 00000000 08B2F120 00000000 [x.y..... .......]
00F780600 00000000 00000000 00000000 00000000 [................]
00F780610 00000000 00000000 00000002 00000000 [................]
00F780620 00000000 00000000 00000000 00000000 [................]
kgepg kgepga_ [00F77CB00, 00F77D968) = 11F0C700 00000000 11F0C5D8 00000000 ...
Dump of memory from 0x00F77CB10 to 0x00F77D968
00F77CB10 00000000 00000000 00000002 00000000 [................]
00F77CB20 00001D15 00000000 0F77D114 00000000 [..........w.....]
00F77CB30 00000005 00000065 00000000 00000000 [....e...........]
00F77CB40 00000000 00000000 00000000 00000000 [................]
Repeat 92 times
00F77D110 00000001 00000F02 66736B00 69727464 [.........ksfdtri]
00F77D120 2928696E 3530312B 00001002 43434100 [ni()+105.....ACC]
00F77D130 5F535345 4C4F4956 4F495441 0012024E [ESS_VIOLATION...]
00F77D140 44410000 303A5244 30303878 33354438 [..ADDR:0x8008D53]
00F77D150 45384542 00000C02 3A435000 42327830 [BE8E.....PC:0x2B]
00F77D160 34453632 000F0244 4E550000 454C4241 [26E4D.....UNABLE]
00F77D170 5F4F545F 54495257 00000045 00000000 [_TO_WRITE.......]
00F77D180 00000000 00000000 00000000 00000000 [................]
Repeat 120 times
00F77D910 00000000 00000000 0F77D179 00000000 [........y.w.....]
00F77D920 0F77D914 00000000 00000004 00000000 [..w.............]
00F77D930 00000000 00000000 00000000 00000001 [................]
00F77D940 00000000 00000000 00000000 00000000 [................]
00F77D950 00000000 00000000 0F77C950 00000000 [........P.w.....]
00F77D960 00000000 00000000 [........]
ub4 kgeemsg_ [00F77D968, 00F77D96C) = 00000000
ub4 kgestkguard_ [00F77D96C, 00F77D970) = 00000000
skgm_cx * kgeskgmcx_ [00F77D970, 00F77D978) = 0F77C3B0 00000000
Dump of memory from 0x00F77C3B0 to 0x00F77C3F0
00F77C3B0 00000000 00000000 06F7AAC0 00000000 [................]
00F77C3C0 0F77C950 00000000 000000FF 00000001 [P.w.............]
00F77C3D0 EC2AE000 000007FF 00001000 00000000 [..*.............]
00F77C3E0 00010000 00000000 00010000 00000000 [................]
sword kge_max_snap_ [00F77D978, 00F77D97C) = 00000000
sword kge_current_snap_ [00F77D97C, 00F77D980) = 00000000
kge_error_snap * kge_error_snap_arr_ [00F77D980, 00F77D988) = 00000000 00000000
kglpg kglpga_ [00F77D988, 00F77D9A0) = 00000000 00000000 00000000 00000000 ...
Dump of memory from 0x00F77D998 to 0x00F77D9A0
00F77D990 00000000 00000000 [........]
kgipg kgipga_ [00F77D9A0, 00F77DCB8) = 00000000 00000000 00000000 00000000 ...
Dump of memory from 0x00F77D9B0 to 0x00F77DCB8
00F77D9B0 00000000 00000000 00000000 00000000 [................]
Repeat 47 times
00F77DCB0 00000000 00000000 [........]
sword * kgsdtf_ [00F77DCB8, 00F77DCC0) = 0F79E60C 00000000
Dump of memory from 0x00F79E60C to 0x00F79E64C
00F79E600 00000000 [....]
00F79E610 00110ED2 00000000 00000000 00000000 [................]
00F79E620 00000000 00000000 00000000 00000002 [................]
00F79E630 00000003 00000000 00000000 00000000 [................]
00F79E640 00000000 00000004 00000005 [............]
struct kggrandctx * kggrpga_ [00F77DCC0, 00F77DCC8) = 00000000 00000000
const kgsf * kgsfpt_ [00F77DCC8, 00F77DCD0) = 06F79DE0 00000000
Dump of memory from 0x006F79DE0 to 0x006F79E20
006F79DE0 00456896 00000000 0077109E 00000000 [.hE.......w.....]
006F79DF0 007710C2 00000000 007710EC 00000000 [..w.......w.....]
006F79E00 0077110A 00000000 00000000 00000000 [..w.............]
006F79E10 00000000 00000000 0077112C 00000000 [........,.w.....]
kgsfpvt kgsfpa_ [00F77DCD0, 00F77DD08) = 005060A8 00000000 00000000 ...
Dump of memory from 0x00F77DCDC to 0x00F77DD08
00F77DCD0 00000000 [....]
00F77DCE0 00000000 00000000 005060A8 00000000 [.........`P.....]
00F77DCF0 00000000 00000000 00000000 00000000 [................]
00F77DD00 00000000 00000000 [........]
kgsup kgsupg_ [00F77DD08, 00F77DD30) = 0F79CFF8 00000000 0F79D010 00000000 ...
Dump of memory from 0x00F77DD18 to 0x00F77DD30
00F77DD10 0F79D008 00000000 [..y.....]
00F77DD20 0F79D000 00000000 0F79D018 00000000 [..y.......y.....]
ldxx * kgsudtx_ [00F77DD30, 00F77DD38) = 00000000 00000000
sword kghxrf_ [00F77DD38, 00F77DD3C) = 00000000
struct kocpg * kocpga_ [00F77DD40, 00F77DD48) = 00000000 00000000
struct kodop * kodopa_ [00F77DD48, 00F77DD50) = 00000000 00000000
struct koipg * koipga_ [00F77DD50, 00F77DD58) = 00000000 00000000
struct kolpg * kolpga_ [00F77DD58, 00F77DD60) = 00000000 00000000
struct kotpg * kotpga_ [00F77DD60, 00F77DD68) = 00000000 00000000
struct kopoc * kopopg_ [00F77DD68, 00F77DD70) = 00000000 00000000
struct kohpg * kohpga_ [00F77DD70, 00F77DD78) = 00000000 00000000
struct kolfpg * kolfpga_ [00F77DD78, 00F77DD80) = 00000000 00000000
struct kolbpg * kolbpga_ [00F77DD80, 00F77DD88) = 00000000 00000000
struct kolepg * kolepga_ [00F77DD88, 00F77DD90) = 00000000 00000000
struct kgxppga * kgxppg_ [00F77DD90, 00F77DD98) = 00000000 00000000
struct kgskpga * kgskpg_ [00F77DD98, 00F77DDA0) = 00000000 00000000
ub2 kgsknumapg_ [00F77DDA0, 00F77DDA4) = 00000000
ub4 kgkprov_ [00F77DDA4, 00F77DDA8) = 00000000
struct kgsnpga * kgsnpg_ [00F77DDA8, 00F77DDB0) = 00000000 00000000
kgmpg kgmpga_ [00F77DDB0, 00F77EA20) = 00000000 00000000 00000000 00000000 ...
Dump of memory from 0x00F77DDC0 to 0x00F77EA20
00F77DDC0 00000000 00000000 00000000 00000000 [................]
Repeat 197 times
kpummpgastat kpummpgastat_ [00F77EA20, 00F77EAF8) = 00000000 00000000 ...
Dump of memory from 0x00F77EA28 to 0x00F77EAF8
00F77EA20 00000000 00000000 [........]
00F77EA30 00000000 00000000 00000000 00000000 [................]
Repeat 11 times
00F77EAF0 00000000 00000000 [........]
struct kgapga_t * kgapga_ [00F77EAF8, 00F77EB00) = 00000000 00000000
kpggpft_t kpggpft_ [00F77EB00, 00F77EB10) = 00000000 00000000 00000000 00000000
const kpggdt_t * kpggdft_ [00F77EB10, 00F77EB18) = 00000000 00000000
ub1 * kpggrtc_ [00F77EB18, 00F77EB20) = 00000000 00000000
kpggtsk_t kpggtsk_ [00F77EB20, 00F77EB28) = 00000000 00000000
void * kpggtcx_ [00F77EB28, 00F77EB30) = 00000000 00000000
void * kpggctx_ [00F77EB30, 00F77EB38) = 00000000 00000000
struct kooosc * kpggosc_ [00F77EB38, 00F77EB40) = 00000000 00000000
ub4 kpggflg_ [00F77EB40, 00F77EB44) = 00000000
ltsmx kpggmtx_ [00F77EB48, 00F77EBE0) = 00000000 00000000 00000000 00000000 ...
Dump of memory from 0x00F77EB58 to 0x00F77EBE0
00F77EB50 00000000 00000000 [........]
00F77EB60 00000000 00000000 00000000 00000000 [................]
Repeat 7 times
sb2 kpggmxc_ [00F77EBE0, 00F77EBE4) = 00000000
ltstid kpggmxt_ [00F77EBE4, 00F77EBEC) = 00000000 00000000
sword * kpggtrg_ [00F77EBF0, 00F77EBF8) = 00000000 00000000
kpdusrcb ** kpggucb_ [00F77EBF8, 00F77EC00) = 00000000 00000000
void * kpggshp_ [00F77EC00, 00F77EC08) = 00000000 00000000
ltsmx kpggsmx_ [00F77EC08, 00F77ECA0) = 00000000 00000000 00000000 00000000 ...
Dump of memory from 0x00F77EC18 to 0x00F77ECA0
00F77EC10 00000000 00000000 [........]
00F77EC20 00000000 00000000 00000000 00000000 [................]
Repeat 7 times
sb2 kpggsmc_ [00F77ECA0, 00F77ECA4) = 00000000
ltstid kpggsmt_ [00F77ECA4, 00F77ECAC) = 00000000 00000000
ltsctx * kpgglts_ [00F77ECB0, 00F77ECB8) = 00000000 00000000
void * kpggmcx_ [00F77ECB8, 00F77ECC0) = 00000000 00000000
kpdalocty kpggmal_ [00F77ECC0, 00F77ECC8) = 00000000 00000000
kpdfreety kpggmfr_ [00F77ECC8, 00F77ECD0) = 00000000 00000000
kpdralocty kpggmrl_ [00F77ECD0, 00F77ECD8) = 00000000 00000000
kpggpg_t* kpggpg_ [00F77ECD8, 00F77ECE0) = 00000000 00000000
kpdusrcb ** kpggrcb_ [00F77ECE0, 00F77ECE8) = 00000000 00000000
kpdusrcb ** kpggecb_ [00F77ECE8, 00F77ECF0) = 00000000 00000000
kpdLdap * kpggldp_ [00F77ECF0, 00F77ECF8) = 00000000 00000000
kpggdpp_t kpggdpp_ [00F77ECF8, 00F77ED00) = 00000000 00000000
kglspg kglspga_ [00F77ED00, 00F77ED10) = 00000000 00000000 00000000 00000000
kglrpg kglrpga_ [00F77ED10, 00F77ED28) = 00000000 00000000 00000000 ...
Dump of memory from 0x00F77ED1C to 0x00F77ED28
00F77ED10 00000000 [....]
00F77ED20 00000000 00000000 [........]
struct qcpgx* qcpga_ [00F77ED28, 00F77ED30) = 00000000 00000000
hoxgecb hoxgec_ [00F77ED30, 00F77ED40) = 00000000 00000000 00000000 00000000
qmxpg qmxpga_ [00F77ED40, 00F77EE78) = 00000000 00000000 00000000 00000000 ...
Dump of memory from 0x00F77ED50 to 0x00F77EE78
00F77ED50 00000000 00000000 00000000 00000000 [................]
Repeat 17 times
00F77EE70 00000000 00000000 [........]
qmtpg qmtpga_ [00F77EE78, 00F77EEA0) = 00000000 00000000 00000000 00000000 ...
Dump of memory from 0x00F77EE88 to 0x00F77EEA0
00F77EE80 00000000 00000000 [........]
00F77EE90 00000000 00000000 00000000 00000000 [................]
qmspg qmspga_ [00F77EEA0, 00F77EEB0) = 00000000 00000000 00000000 00000000
qmtmpg qmtmpga_ [00F77EEB0, 00F77EEC0) = 00000000 00000000 00000000 00000000
qmdpg qmdpga_ [00F77EEC0, 00F77EED8) = 00000000 00000000 00000000 00000000 ...
Dump of memory from 0x00F77EED0 to 0x00F77EED8
00F77EED0 00000000 00000000 [........]
kglsim_pga * kglsimpga_ [00F77EED8, 00F77EEE0) = 0DE90F98 00000000
Dump of memory from 0x00DE90F98 to 0x00DE90FD8
00DE90F90 00000000 00000000 [........]
00DE90FA0 00000000 00000000 00000000 00000000 [................]
00DE90FB0 0043D842 00000000 00000000 00000000 [B.C.............]
00DE90FC0 00000000 00000000 00000000 00000000 [................]
00DE90FD0 00000000 00000000 [........]
kngpga * kngpg_ [00F77EEE0, 00F77EEE8) = 00000000 00000000
kgqbtpg kgqbtpga_ [00F77EEE8, 00F77EEF8) = 00000000 00000000 00000000 00000000
kgscpg kgscpga_ [00F77EEF8, 00F77EF28) = 00000000 00000000 00000000 ...
Dump of memory from 0x00F77EF04 to 0x00F77EF28
00F77EF00 00000000 00000000 00000000 [............]
00F77EF10 00000000 00000000 00000000 00000000 [................]
00F77EF20 00000000 00000000 [........]
kgxpg kgxpga_ [00F77EF28, 00F77EF48) = 00000000 00000000 00000000 00000000 ...
Dump of memory from 0x00F77EF38 to 0x00F77EF48
00F77EF30 00000000 00000000 [........]
00F77EF40 00000000 00000000 [........]
kgss_dispatch kgss_dispatch_ [00F77EF48, 00F77EFC8) = 80011009 00000000 ...
Dump of memory from 0x00F77EF50 to 0x00F77EFC8
00F77EF50 004C273A 00000000 004C7958 00000000 [:'L.....XyL.....]
00F77EF60 004C2870 00000000 004C3D14 00000000 [p(L......=L.....]
00F77EF70 004C3E30 00000000 004C3E72 00000000 [0>L.....r>L.....]
00F77EF80 004C3EE4 00000000 004C4386 00000000 [.>L......CL.....]
00F77EF90 004C43A4 00000000 004C43C2 00000000 [.CL......CL.....]
00F77EFA0 004C47BE 00000000 004B9A40 00000000 [[email protected].....]
00F77EFB0 004C47DC 00000000 004C520E 00000000 [.GL......RL.....]
00F77EFC0 004C5F76 00000000 [v_L.....]
kgghst * kgodmfht_ [00F77EFC8, 00F77EFD0) = 00000000 00000000
struct kgnfspctx * kgnfsp_ [00F77EFD0, 00F77EFD8) = 00000000 00000000
kgs_heap_t ** kgs_top_pga_ [00F77EFD8, 00F77EFE0) = 00000000 00000000
kgs_heap_t ** kgs_top_sga_ [00F77EFE0, 00F77EFE8) = 00000000 00000000
kgs_heap_t ** kgs_top_uga_ [00F77EFE8, 00F77EFF0) = 00000000 00000000
kgs_heap_t ** kgs_top_cga_ [00F77EFF0, 00F77EFF8) = 00000000 00000000
kgs_pga_reserve_t kgs_pga_ [00F77EFF8, 00F77F098) = 0DE90878 00000000 ...
Dump of memory from 0x00F77F000 to 0x00F77F098
00F77F000 00000000 00000000 00000000 00000000 [................]
Repeat 8 times
00F77F090 00000000 00000000 [........]
kgs_control_t * kgs_pga_control_ [00F77F098, 00F77F0A0) = 00000000 00000000
kgb_instance_t * kgs_pga_instance_ [00F77F0A0, 00F77F0A8) = 00000000 00000000
kgs_control_t * kgs_sga_control_ [00F77F0A8, 00F77F0B0) = 00000000 00000000
kgb_instance_t * kgs_sga_instance_ [00F77F0B0, 00F77F0B8) = 00000000 00000000
kgs_heap_t * kgs_pga_stack_ [00F77F0B8, 00F77F0C0) = 00000000 00000000
kgs_get_t kgs_get_ [00F77F0C0, 00F77F0C8) = 00000000 00000000
kgs_release_t kgs_release_ [00F77F0C8, 00F77F0D0) = 00000000 00000000
kgs_memset_t kgs_safe_memset_ [00F77F0D0, 00F77F0D8) = 00000000 00000000
kgt_table_t * volatile kgt_pga_table_ [00F77F0D8, 00F77F0E0) = 00000000 ...
Dump of memory from 0x00F77F0DC to 0x00F77F0E0
00F77F0D0 00000000 [....]
kgt_table_t * volatile kgt_sga_table_ [00F77F0E0, 00F77F0E8) = 00000000 ...
Dump of memory from 0x00F77F0E4 to 0x00F77F0E8
00F77F0E0 00000000 [....]
dbgc * dbgc_ [00F77F0E8, 00F77F0F0) = 0DE504F8 00000000
Dump of memory from 0x00DE504F8 to 0x00DE50538
00DE504F0 00000001 00000000 [........]
00DE50500 00000000 00000000 00000000 00000001 [................]
00DE50510 00000003 00000000 0DE51198 00000000 [................]
00DE50520 09D088A0 00000000 00000001 00000000 [................]
00DE50530 00000000 00000000 [........]
kgscm_pga_reserve_t kgscmpga_ [00F77F0F0, 00F7804F0) = 00000000 00000000 ...
Dump of memory from 0x00F77F0F8 to 0x00F7804F0
00F77F0F0 00000000 00000000 [........]
00F77F100 00000000 00000000 00000000 00000000 [................]
Repeat 318 times
ldxg* pgasysdate_ [00F7804F0, 00F7804F8) = 00000000 00000000
ldxx pgadcx_ [00F7804F8, 00F7805E8) = 00000000 00000000 00000000 00000000 ...
Dump of memory from 0x00F780508 to 0x00F7805E8
00F780500 00000000 00000000 [........]
00F780510 00000000 00000000 00000000 00000000 [................]
Repeat 12 times
00F7805E0 00000000 00000000 [........]
struct ctxdef* pgactxg_ [00F7805E8, 00F7805F0) = 00000000 00000000
lxglo klcsglo_ [00F7805F0, 00F780670) = 0F79E278 00000000 08B2F120 00000000 ...
Dump of memory from 0x00F780600 to 0x00F780670
00F780600 00000000 00000000 00000000 00000000 [................]
00F780610 00000000 00000000 00000002 00000000 [................]
00F780620 00000000 00000000 00000000 00000000 [................]
00F780630 00000002 00000000 00000000 00000000 [................]
00F780640 00010000 00BE0000 00010000 00000000 [................]
00F780650 00000000 00000000 00000000 00000000 [................]
Repeat 1 times
skgdspc * pgactx_set_stack_ [00F780670, 00F780678) = 00000000 00000000
struct kksfr * kksfra_ [00F780678, 00F780680) = 00000000 00000000
kgstmPg kgstmPg_ [00F780680, 00F7807C8) = 00000000 00000000 00000000 ...
Dump of memory from 0x00F78068C to 0x00F7807C8
00F780680 00000000 [....]
00F780690 00000000 00000000 00000000 00000000 [................]
Repeat 17 times
00F7807B0 9AE7D7D7 00000002 00000000 00000000 [................]
00F7807C0 00000000 00000000 [........]
struct { struct kghds ds; struct kghbk b[(1)]; } kgcsubhp_
Dump of memory from 0x00F7807C8 to 0x00F780850
00F7807C0 00000000 00000000 [........]
00F7807D0 00000000 00000000 00000000 00000000 [................]
Repeat 7 times
kgc_comp_type_cb kgcpgcomptypecb_ [00F780850, 00F780858) = 00000000 00000000
ub4 kgcpscinitdone_ [00F780858, 00F78085C) = 00000000
ub4 kgftrclvl_ [00F78085C, 00F780860) = 00000000
kgefa * kgfefac_ [00F780860, 00F780868) = 00000000 00000000
void * kgfspare_ [00F780868, 00F780870) = 00000000 00000000
----- Dump of the Fixed SGA -----
***** SGA not mapped *****
----- Dump of the Fixed USGA -----
***** no UGA ***** -
ORA-12560: TNS:protocol adapter error from ADO ODBC connection in Access VB
I have an MS Access 2000 VB module that loads data from Access into an Oracle database. This worked when Access was 97 using DAO and Oracle RDBMS was 8i. Now, the database has been upgraded to 9i and Access has been upgraded to 2K using ADO. The error occurs at the time of connection. Here is my code:
Const OracleDBConnectParm As String = _
"DSN=tracDemo;USER ID=tracGoldDev;PASSWORD=tracGoldDev;"
StrSQL = OracleDBName
errstr = "Open DB: " & OracleDBConnectParm
Set Oracledbs = New ADODB.Connection
With Oracledbs
.Provider = "MSDAORA.1"
.ConnectionString = StrSQL
.Open
End With
The error I receive is:
1/6/2003 1:09:12 PM (Main)
Opening Databases
Table:<Open DB: DSN=tracDemo;USER ID=tracGoldDev;PASSWORD=tracGoldDev;> Keys:<: >
VB Error (-2147467259): ORA-12560: TNS:protocol adapter error
My SQLNet.log shows the following:
Fatal NI connect error 12560, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleORCL)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=ORCL)(CID=(PROGRAM=C:\Program Files\Microsoft Office\Office\MSACCESS.EXE)(HOST=GC88X11)(USER=montolchik))))
Long postings are being truncated to ~1 kB at this time.I need to connect to Oracle tables from within Access Data Project (ADP). I can connect fine from within regular Access .mdb Front End. When I enter the Oracle Server name in the Data Link Properties box I get error
"Test connection failed because of an error initializing the provider.(DBNETLIB]
Suggestions
Thanks! -
ORA-12560: TNS:protocol adapter error (10.2.0.1)
Hi,
database :- 10.2.0.1 (upgraded from 8.1.7.4 through DBUA)
OS :- Windows2000 Server
In Sql editor (10.2.0.1) when i give command "conn / as sysdba" i get the below error :
SQL> conn / as sysdba
ERROR:
ORA-12560: TNS:protocol adapter error
I can connect with SYS user using TOAD but can't through sql editor
and when i open sql editor (8.1.7.0), SYS user gets connected.
any solution ?
With regardshello,
if having multiple database on same host, try specifying @<SID> while connecting through command line
restart the service and try again......
start-->setting-->control panel-->administrative tools--> servieces-->oracle_homeLinstener<SID>--> restart
if possible paste your TNSnames.ora file here...with details
this might help
thanks and regards
VD
Edited by: vikrant dixit on Jul 13, 2009 4:26 AM -
ORA-12560: TNS protocol adapter error for 11g
I'm attempting to install Oracle 11g in my Windows 2008 Doamin machine.
During the installation of database configuration assistant, I got the
pop up error "ORA-12560: TNS protocol adapter error." I tried it
twice and still failed. I have no idea what's going on. Any ideas?01034, 00000, "ORACLE not available"
// *Cause: Oracle was not started up. Possible causes include the following:
// - The SGA requires more space than was allocated for it.
// - The operating-system variable pointing to the instance is
// improperly defined.
// *Action: Refer to accompanying messages for possible causes and correct
// the problem mentioned in the other messages.
// If Oracle has been initialized, then on some operating systems,
// verify that Oracle was linked correctly. See the platform
// specific Oracle documentation. -
Vbscript to connect to oracle fails with ORA-12560: TNS:protocol adapter error
I am running a Windows 7, 64 bit system with the Oracle 32 bit client installed. The 32 bit client is required for use with Oracle's Documaker Studio which is working fine with the current client configuration. I would like to connect the same database using a vbscript. Here is the test script I am using:
Option Explicit
Dim strCon
strCon = "Driver={Oracle in OraClient11g_home1_32bit}; " & _
"CONNECTSTRING=(DESCRIPTION=" & _
"(ADDRESS=(PROTOCOL=TCP)" & _
"(HOST={VSTODEEDATxx.xxxxxxx.com})(PORT=1521))" & _
"(CONNECT_DATA=(SERVICE_NAME=IDMAKER))); uid=xxxxxx;pwd=xxxxxxxx;"
Dim oCon: Set oCon = WScript.CreateObject("ADODB.Connection")
Dim oRs: Set oRs = WScript.CreateObject("ADODB.Recordset")
oCon.Open strCon
Set oRs = oCon.Execute("SELECT TO_CHAR(SYSDATE,'MM-DD-YYYY HH24:MI:SS') AS DateTime FROM DUA")
While Not oRs.EOF
WSCript.Echo oRs.Fields(0).Value
oRs.MoveNext
Wend
oCon.Close
Set oRs = Nothing
Set oCon = Nothing
In the connection string I am using the 32 bit driver used succesfully by Documaker. I provided all the parms to eliminate the need for tnsnames.ora. However, I do have tnsnames.ora on my system and Documaker is using it.
Since the client is 32 bit, I am using the following command to run the script:
c:\windows\syswow64\cscript.exe c:\temp\oracle\testing\testconnect.vbs
This is suppose to run the script in 32 bit mode and be compatible with the client.
When I run the program I get the following error:
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
c:\temp\oracle\testing\testconnect.vbs(12, 1) Microsoft OLE DB Provider for ODBC
Drivers: [Oracle][ODBC][Ora]ORA-12560: TNS:protocol adapter error
Would someone please advise on how to debug this problem? Thanks, Gary"connectstring" is not a valid attribute with Oracle's ODBC driver, so since there is no datasource attribute specified, the app is trying to connect to a local database, and since you don't have one, you get 12560.
To resolve the problem, pass DBQ= instead of CONNECTSTRING=
http://docs.oracle.com/cd/B19306_01/server.102/b15658/app_odbc.htm#i1093897
Greg -
Ora - 12560 TNS Protocol Adapter Error and
Hi,
When the install script tries to connect inernal and create a database instance...the error "ora - 12560 TNS Protocol Adapter Error" is generated which I found in the install log.
I already have successfully created one database (orcl1) on this NT4 (service pack 6). The second database creation is what's giving me a hard time. BTW, I can connect to the first installed database with no problem through sqlplus. However, the second database is a different story (protocol adapter error). I have checked the windows registy to make sure that the entries are there for the second database as there are for the first(orcl1).
How can I resolve this?I assume you are using the ASP.NET Web Site Admin Tool. If so, make sure you do a couple of things to be able to connect.
1) On the Provider tab, choose the second link on the page: the "Advanced" link. Select the Oracle Membership and Role providers here. Now, this admin tool will use the correct providers
2) Next, you need to make sure that the ASP.NET admin tool can connect to Oracle. You can modify the connection string in the IIS admin tool or your machine.config. If you modify your machine.config, look for the following entry:
<connectionStrings>
<add name="OraAspNetConString" providerName="Oracle.DataAccess.Client"
connectionString="User Id=aspnet;Password=aspnet;Data Source=xe" />
</connectionStrings>
Obviously, replace what I have here with your the data source, user id, and password that contain the ASP.NET providers schema that was created in the DB. In this case, I created a separate schema called "aspnet" to store this info.
After that, the ASP.NET admin tool should be able to connect. It will be default to Windows authentication mode, but you can change it to requiring a user id format. -
Folks,
Hello. Initially, my Windows XP host name is "localhost" and IP address 127.0.0.1.
I installed Oracle Database 11g with Windows XP successfully and all Database clients work with Database instance correctly.
For some reasons, I uninstalled the entire Database Server and delete the entire installation directory /oracle.
I configured Windows XP IP address into 192.168.196.101 in order to ping other machines.
For my need, I installed Oracle Database 11g with Windows XP again. On step 7 of 8: Oracle Database Configuration Assistant, I got this error:
ORA-12560:TNS: protocol adapter error.
I click "Password Management" button, there are no rows in this Windows (no username, no lock accounts).
I check listener as below:
C:\>lsnrctl
LSNRCTL>start
Its output: listener name LISTENER has already been started.
LSNRCTL>status
Its output: ......Service DB1 has 1 instance. Instance DB1 status ready. The command completed successfully.
I check \Oracle\cfgtoollogs\dbca\DB1\trace file, the entry is :
listen[0]=LISTENER address=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(port=1522))
I also check \oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\SAMPLE\tnsnames.ora file and listener.ora file, the entries are the same as below
HOST=localhost port=1522
I think HOST=localhost and port=1522 is the cause of the error ORA-12560 because Windows XP has been configured into HOST=192.168.196.101.
But I don't understand how to solve this issue.
Can any folk tell me how to solve this issue ? need to cancel the installation on step 7 of 8 and install it again ?
Thanks.Folks,
Hello. Oracle Database 11g Installation Wizard is on step 7 of 8. I don't cancel the Wizard. I am not sure whether there is effect or not. listener.ora is not removed. I have been waiting for a while after stop listener. I run the 3 commands again and copy the result as below:
C:\>lsnrctl stop
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 14-AUG-2013 19:32
:14
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
64-bit Windows Error: 2: No such file or directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1522)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
64-bit Windows Error: 61: Unknown error
C:\>
C:\>
C:\>
C:\>
C:\>
C:\>lsnrctl start
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 14-AUG-2013 19:33
:04
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Starting tnslsnr: please wait...
TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
System parameter file is C:\SecondTime_OracleDatabase_Install_Directory\product\
11.2.0\dbhome_1\network\admin\listener.ora
Log messages written to c:\secondtime_oracledatabase_install_directory\diag\tnsl
snr\user-19yyar8x0d\listener\alert\log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522
ipc)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1522)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 14-AUG-2013 19:33:07
Uptime 0 days 0 hr. 0 min. 3 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\SecondTime_OracleDatabase_Install_Directory\product
\11.2.0\dbhome_1\network\admin\listener.ora
Listener Log File c:\secondtime_oracledatabase_install_directory\diag\tn
slsnr\user-19yyar8x0d\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1522)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
C:\>
C:\>
C:\>
C:\>
C:\>lsnrctl service
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 14-AUG-2013 19:36
:37
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "DB1XDB" has 1 instance(s).
Instance "DB1", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: user-19YYAR8X0D, pid: 120>
(ADDRESS=(PROTOCOL=tcp)(HOST=user-19yyar8x0d)(PORT=1051))
Service "DB1" has 1 instance(s).
Instance "DB1", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:19 refused:0 state:ready
LOCAL SERVER
The command completed successfully
C:\>
As we see, listener.ora file is not removed by Stop command. I am on the installation Wizard. How to solve this issue ?
Thanks.
Maybe you are looking for
-
Hi, We have employee photos(JPG Format) stored in Content server. And now we want to print the photos in smartforms. For this I had written the below code to read the photo from content server in binary format as below. REPORT ZTEST1. PARAMETERS P_PE
-
My .dbx files were crashed. How to make outlook express repair?
My Outlook Express 6 repair basic kit, didn't help.
-
How to do md5 checksum in PL/SQL in 8i
Is there any function in PL/SQL for md5 checksum?
-
How to build a Hieararchical Table
Hi. I follow the below link to create a tree structured table. https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/de59f7c2-0401-0010-f08d-8659cef543ce The document says, the child nodes are rendered only when a parent node is clicked
-
The album art for my Queen greatest hits 1, II, and III were the way they were supposed to be origionally, but I transeferred my files onto another computer and now when I try to get the album art from the files of mine that I've imported Itunes retr