Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

odbc connection problems with oracle

Posted on 2006-11-07
5
Medium Priority
?
1,039 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:Ernesto
[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 2000 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:Ernesto
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:Ernesto
ID: 17899177
where this file is allocated mr?
0
 

Author Comment

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

Author Comment

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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
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…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

670 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