Solved

odbc connection problems with oracle

Posted on 2006-11-07
5
992 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
  • 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Join & Write a Comment

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
APEX (Application Express) is used to develop a web application from Oracle. SQL Workshop is one of the tools that comes with Oracle APEX to query or modify the database objects or to make any changes to the structure.
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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now