INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

ORA-12514 on PB 12.5.2 Build 5006

ORA-12514 on PB 12.5.2 Build 5006

(OP)
Hello,
I'm working on Windows7, 64bit with PB 12.5.2 build 5006 and Oracle 11.2.0
I can connect to the database with SQLPLUS but not with PowerBuilder?
I always get the following error message: ORA-12514: TNS: listener does not currently know of service requested in connect descriptor
My service name is called ORNFDEV. When I execute lsnrctl services ORNFDEV in DOS command I get the info of my "tnsname.ora" file and a sentence stating that the command worked.
It doesn't seem an Oracle problem but a PowerBuildwer one.
Does anyone can help me?

Please see below, the content of my tnsnames.ora file
# tnsnames.ora Network Configuration File: c:\oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

ORNFDEV =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ornf)
)
)

ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)

RE: ORA-12514 on PB 12.5.2 Build 5006

Which driver are you using?

Matt

"Nature forges everything on the anvil of time"
www.anvil-of-time.com

RE: ORA-12514 on PB 12.5.2 Build 5006

(OP)
Where, How do I see it?
Thanks for your interest

Marc

RE: ORA-12514 on PB 12.5.2 Build 5006

(OP)
Ok thanks for your interventions. I've solved the problem. It was a question of service name which was different in the tnsname.ora and the *.ini file used by powerbuilder. Howerver even after uniformising the names, the connections didn't work. I dropped and recreate the Database profile in PowerBuilder and it worked!
Thanks
Marc

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close