Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> TNS:listener could not resolve SERVICE_NAME given in connect descriptor
Folks,
I have read a lot of posts about this error but I am unable to resolve mine. I just installed an Oracle XE database on Windows XP Professional. I created a new user gm/gm. I am able to access the database from my browser and also from the SQL Command Line (this SQL client comes with Oracle XE) but am unable to connect to the database from SQLPlus (both are in the same machine).
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = abcdefg)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED) (SERVICE_NAME = XE)
When connecting to the database with SQLPlus, I use gm/gm and host
string as XE and I get the above error..
What am I doing wrong?
Thanks.
GM
Received on Wed Apr 19 2006 - 09:50:30 CDT