Solved

odbc connection problems with oracle

Posted on 2006-11-07
5
1,020 Views
Last Modified: 2008-01-09
Hi guys.
I have a big problem here

I have oracle 8.1 runing a connection in several bentley design series software

But one of the machines isn't connect via odbc , i can't succed the connection, all the other machines have the same configuration, but this one refuse the connection,
I succed the connection using  the oracle net configuration assistant, but in the windows odbc configuration i cant reach the connection.

I have the next error message.

Unable to connect
sqlstate=08004
[ORACLE][ODBC][ORA]ORA-1254: TSN: Could not resolve service name

Thank you








0
Comment
Question by:edo60
[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
  • 4
5 Comments
 
LVL 35

Accepted Solution

by:
Raynard7 earned 500 total points
ID: 17896252
Hi,

This appears that they may have a different tns file - than your other clients.

this should be called tnsnames.ora - I would copy this from one of the clients that works and substitute this on the other machine.

With oracle you are trying to connect to a named location with the driver - if the named location is not in the tnsnames.ora file then the oracle client does not have the instructions to connec to the database.  Normally you add entries to this file the more different oracle databases you wish to connect to.
0
 

Author Comment

by:edo60
ID: 17899031
ok i find this file in the client machine that works well?
 and replace in that one that isnt work
but before in the error machine i need to delete de bad odbc configuration or something else
or what's the right procede?
thanks
0
 

Author Comment

by:edo60
ID: 17899177
where this file is allocated mr?
0
 

Author Comment

by:edo60
ID: 17899380
ok i find it, just replace it?
your right, they dont seem equal ass the well done configurated
0
 

Author Comment

by:edo60
ID: 17901597
That it my friend
thanks a lot
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Database needed for HR files 4 83
how to remove error in database 6 37
Convert VBA UDF to SQl SERVER UDF 4 51
Troubleshooting Save_Record_Click() VBA 6 22
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

726 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