Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> ORA-12154: TNS: could not resolve service name from remote machine
Hi,
I've just started trying to write a .NET 1.1 prototype application to access an oracle database using the "Oracle Data Provider". If I run the application on the DB server, it works fine. Remotely from my development machine however, I get the error mentioned in the subject of this post. It "did" however work for a bit but stopped when I closed all the config windows on both machines.
I have looked at other postings but cant find any suggestions that help :-(
I've rebooted the server, but not the development machine "yet"
I've checked the following:
DB Server
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0)) )
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = test-anite)(PORT = 1521)) )
tnsnames.ora has:
DEMO9 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = test-anite)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = demo9)
)
)
Development machine
(ADDRESS = (PROTOCOL = TCP)(HOST = DEV-WS4)(PORT = 1521)) )
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0)) )
tnrnames.ora has:
DEMO9 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = test-anite)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = demo9)
)
)
Does anyone have any suggestions?
Thanks in advance
Bobby Received on Fri Feb 09 2007 - 08:46:47 CST
![]() |
![]() |