Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can't connect to newly installed 11G database

PaulVersluisJan 5 2008 — edited Jan 7 2008
Hi all,

I just installed a new Oracle 11.1.0.6 database on my Windows XP laptop. When I start sqlplus on a command prompt I get an ORA-12154 error. Tnsping gives an OK. After going through the Net Configuration Assistant, I end up with a succesful test.

This is my sqlnet.ora:

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
)
)

And my tnsnames.ora:

ORA11 = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))(CONNECT_DATA = (SERVICE_NAME = ORA11)))

Can anyone tell me what is going wrong here?

Thanks
Paul
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 4 2008
Added on Jan 5 2008
13 comments
3,255 views