aspose file tools
The moose likes Oracle/OAS and the fly likes ORA-12154: TNS:could not resolve the connect identifier specified Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Reply Bookmark "ORA-12154: TNS:could not resolve the connect identifier specified" Watch "ORA-12154: TNS:could not resolve the connect identifier specified" New topic
Author

ORA-12154: TNS:could not resolve the connect identifier specified

Arjun Reddy
Ranch Hand

Joined: Nov 10, 2007
Posts: 622
Hi All,

I am trying to run a Perl script on a server and it touches a database. The script starts properly and then I get this error message and nothing gets updated in the database. Can someone please tell me what might be the reason and how I can solve it?

Thanks.

Be Humble... Be Nice.
Arjun Reddy
Ranch Hand

Joined: Nov 10, 2007
Posts: 622
I don't know.. I think I am using the right id, password and SID too.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26200
    
  66

Can you connect via SQL Plus?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Arjun Reddy
Ranch Hand

Joined: Nov 10, 2007
Posts: 622
Jeanne Boyarsky wrote:Can you connect via SQL Plus?


ok, I logged into the server I am trying to run the script from and typed in sqlplus and I am getting command not found.

 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: ORA-12154: TNS:could not resolve the connect identifier specified
 
Similar Threads
CGI and Applets
Converting database scripts.
Run Oracle Script from within JSP
Database and jsp
DB connectivity with javascript?