Solved

[Oracle][ODBC][Ora]Error while trying to retrieve text for error ORA-12154

Posted on 2003-11-05
10
4,661 Views
Last Modified: 2012-08-14
I am trying to connect to an Oracle database and keep getting this error:  [Oracle][ODBC][Ora]Error while trying to retrieve text for error ORA-12154.  Can anyone help?
0
Comment
Question by:dick3677
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 3

Expert Comment

by:AnnetteHarper
ID: 9687384
ORA-12154 TNS is "Could not resolve service name" and indicates that the Oracle client is not properly installed or configured. Have you verified that you can access your Oracle database from SQL*Plus? Probably the service name does not exist in your TNSNames.ORA file.
0
 

Author Comment

by:dick3677
ID: 9688089
tnsnames.ora is OK.  SQLPlus is OK.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 9688811
What version of CR?  What version of Oracle?

I read somewhere that there are some incompatibilities between Oracle and CR which are version dependent.

mlmcc
0
On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

 
LVL 3

Expert Comment

by:AnnetteHarper
ID: 9688813
Hhmm, seems unlikely that you would get this particular error if you can connect OK using SQL*Plus. You don't by any chance have multiple Oracle Homes, do you? In that case, you may have multiple tnsnames files.

Also, can you verify that the DSN is OK using some other tool? Maybe Microsoft Query or Access or something? This is a lower level error than the ODBC layer, but this check might tell you something.
0
 

Author Comment

by:dick3677
ID: 9688874
I tried MS Query and got the same error.
0
 
LVL 3

Accepted Solution

by:
AnnetteHarper earned 168 total points
ID: 9689978
Well, at least you know its not Crystal then!

This situation seems a little odd to me. The error is saying that it can't resolve the service name, which means that it can't find a tnsnames file, or the name you've listed is not in the tnsnames file. (unless you use Oracle names instead of a tnsnames file)

Which ODBC driver are you using? The CR Oracle ODBC or Oracle's or some other one? Each one calls the service name something different, but verify that the name you're typing into the ODBC DSN setup matches the tnsname.

If you will post your tnsnames entry and tell me which ODBC driver you're using, I can verify the proper configuration for you.
0
 
LVL 6

Assisted Solution

by:PWinter
PWinter earned 166 total points
ID: 9706183
Hi.

Do you have any subreports? If yes, you have to verify each of them same way as you did for the main report.

Good Luck.
PW
0
 

Assisted Solution

by:JimGoeben
JimGoeben earned 166 total points
ID: 10291458
Did you find an answer to this? I had the same issue; however, I was able to see the query results, but other's were not. I added everyone with view rights to the security of the C:\oracle\ora92\ directory and that fixed it.
0

Featured Post

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question