Solved

odbc connection problems with oracle

Posted on 2006-11-07
5
1,029 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Azure Functions is a solution for easily running small pieces of code, or "functions," in the cloud. This article shows how to create one of these functions to write directly to Azure Table Storage.
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…

734 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