Dbcoonection in adfstore?

I followed the tutorial to set up databasesetup
It works
However when I establish dataconnection in jdeveloper
I got errors messages like:
AN error was encountered performing the
requested operation:
listener refused the connection with following
error:
ORA-12505, TNS:listener doesnot currently kow of
SID given in connect descriptor
the Connection descriptor used by the client was:
localhost:1521:lhdev
vendor code 0"
I do not know how to fix this problem?
someone help me out?
THe oracle 10g on windows xp, there are two db I set:
1. global database name: lhdev.ca.uwo.com
SID: lhdev
2. gloaal database name: lhdev2.ca.uwo.com
SID: lhdev2
Here is my listerner.ora and tnsnames.ora
# listener.ora Network Configuration File: C:\oracle\product\10.1.0\Db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.1.0\Db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
# tnsnames.ora Network Configuration File: C:\oracle\product\10.1.0\Db_1\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.
LHDEV =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SID=lhdev)
[(GLOBAL_NAME=lhdev.ca.uwo.com)]
(SERVICE_NAME = lhdev.ca.uwo.com)
LHDEV2 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = lhdev2.ca.uwo.com)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
Another problem is that when I start "OracleOraDb10g_home1TNSListenerlisterner" service in the services management. It always pop ups the message
"could not start the OracleOraDb10g_home1TNSListenerlisterner on local
computer
error 1067:the process terminated unexpectedly"
Does any experience this problem?
oracle db 10g continues working when I use sqlplus as both windows and dos interface
I am really confused, need big help!
watson

If a domain name is defined, the domain name gets appended to the net service name.
Set the service name in tnsnames.ora with the domain name appended to the service name.
LHDEV.ca.uwo.com =
LHDEV2.ca.uwo.com =

Similar Messages

Maybe you are looking for

  • US Playdock Z500 with UK Zen Visio

    I really want a Creative Playdock Z500 to use with my Zen Vision M 30GB. However, it seems I missed the boat on the Europe supply, and everywhere I've looked is out of stock. I noticed it's in stock at Amazon.com so am thinking about importing one. B

  • R9 270x gaming BF4 GOP Request

    Hi, could you provide me with a GOP UEFI vBIOS for the following card: MSI R9 270x Gaming BF4 Edition SN: 602-V303-03SB1311023527 thanks in advance

  • Adding images from my library to empty mc in loop

    Hi I am 1 step away from finishing my for loop. I have a item mc I have duplicated 8 items (indexarray.length) and what my loop currently does is display these 8 blank movieclips on the screen positioned 4 in each row. Inside this blank item mc I hav

  • Why and How to develop XML forms?

    Hi All,   I am creating a bulletin board . So I need to create XML  forms . I m not clear as to why do I need to create it and also dont know to create the same . Is there any software installation required for its creation OR else I can do it withou

  • Exe cannot find top-level vi

    I have a problem on some (not all) systems featuring XP lite - a customizable, small footprint version of XP. Say I install an application A through an installer including the LV runtime (7.0). After that, I copy on the system an executable file B.ex