View Single Post

  #2 (permalink)  
Old 08-07-2008, 07:22 AM
siraj_ahmed siraj_ahmed is offline
Junior Member
 
Join Date: Dec 2006
Posts: 3
siraj_ahmed is on a distinguished road
Send a message via Yahoo to siraj_ahmed
check ur tnsnames.ora file.. there has to be an entry in it.

host_name:ip address of the pc or server ur connecting sid=oracle instance name

for eg
test =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host = host_name)
(Port = 1521)
)
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host = host_name)
(Port = 1526)
)
)
(CONNECT_DATA = (SID = instance_name)
)
)
Reply With Quote