K
Khano
Hello EveryBody,
I am trying to get data from my database (ORACLE database) to my PDA
machine containing SQLCE
I get the following error:
Error Code: 80004005
Message : ORA-12514
TNS:listener could not resolve SERVICE_NAME given in connect descriptor
Minor err.:12514
Source OraOLEDB
This is my connection String:
Dim RDAOLEDBConnectString As String = "Provider=OraOLEDB.Oracle;Data
Source=111.111.111.111;User Id=system;Password=manager;"
I have read some other topics on this error. they said i need to change
something in the listener.ora and tnsnames.ora
I am new at oracle so i don't know all this stuff
i opened the files but didn't know what to do here are the two files:
listener.ora
***********************************************************************************************************
# LISTENER.ORA Network Configuration File:
D:\oracle\ora92\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = CARLO)(PORT = 1521))
)
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\oracle\ora92)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = ORADB)
(ORACLE_HOME = D:\oracle\ora92)
(SID_NAME = ORADB)
)
)
************************************************************************************************************
tnsnames.ora
*********************************************************************************************************
# TNSNAMES.ORA Network Configuration File:
D:\oracle\ora92\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORADB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = CARLO)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORADB)
)
)
INST1_HTTP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = CARLO))(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
123_DBTEST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = DBTest)(PORT = 1521))
)
(CONNECT_DATA =
(SID = 123)
(SERVER = DEDICATED)
)
)
*********************************************************************************************************
Any help on that and i would be greatful
Thanks a lot
Best Regards
Carlo Khanati
I am trying to get data from my database (ORACLE database) to my PDA
machine containing SQLCE
I get the following error:
Error Code: 80004005
Message : ORA-12514
TNS:listener could not resolve SERVICE_NAME given in connect descriptor
Minor err.:12514
Source OraOLEDB
This is my connection String:
Dim RDAOLEDBConnectString As String = "Provider=OraOLEDB.Oracle;Data
Source=111.111.111.111;User Id=system;Password=manager;"
I have read some other topics on this error. they said i need to change
something in the listener.ora and tnsnames.ora
I am new at oracle so i don't know all this stuff
i opened the files but didn't know what to do here are the two files:
listener.ora
***********************************************************************************************************
# LISTENER.ORA Network Configuration File:
D:\oracle\ora92\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = CARLO)(PORT = 1521))
)
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\oracle\ora92)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = ORADB)
(ORACLE_HOME = D:\oracle\ora92)
(SID_NAME = ORADB)
)
)
************************************************************************************************************
tnsnames.ora
*********************************************************************************************************
# TNSNAMES.ORA Network Configuration File:
D:\oracle\ora92\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORADB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = CARLO)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORADB)
)
)
INST1_HTTP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = CARLO))(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
123_DBTEST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = DBTest)(PORT = 1521))
)
(CONNECT_DATA =
(SID = 123)
(SERVER = DEDICATED)
)
)
*********************************************************************************************************
Any help on that and i would be greatful
Thanks a lot
Best Regards
Carlo Khanati