Solved

Attempting an ODBC/DSN connection to Oracle

Posted on 2002-05-06
3
1,097 Views
Last Modified: 2012-05-04
We have a Windows 2000 server running IIS application server and running Oracle 8.1.7.  On my local
machine I am running Windows 2000 and UltraDev 4.  When I try to set up a DSN connection, I am getting
the following error message from UltraDev:

[Microsoft][ODBC driver for Oracle][Oracle]ORA-12154: TNS: could not resolve service name.

[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed.

In the DSN setup on my local machine, I have defined the following:

Data Source Name:  TEST_FLTPROJ
User Name: TR/<password>
Server: IMAPTIS@MAP3.MSFC.NASA.GOV

IMAPTIS is the name of the ORACLE instance
TR is the table name
Where <password> is shown, I entered the actual password which I do not want to post here.

Where is my problem?  What have I not gotten right?

In my TNSNAMES.ora file, the IMAPTIS strings are defined correctly.  I can get into the Oracle database
from my machine via SQL*Net but not using the ODBC connectivity.
0
Comment
Question by:PIERCGG
[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
3 Comments
 
LVL 7

Accepted Solution

by:
waynezhu earned 200 total points
ID: 6992038
>>    Server: IMAPTIS@MAP3.MSFC.NASA.GOV (?)

Is it supposed to be "Server: IMAPTIS"
or                   "Server: IMAPTIS.MAP3.MSFC.NASA.GOV"

Check against the definition in the TNSNAMES.ORA.

The value entered at the Server field should be exactly same as the TNS connection string you have defined in the TNSNAMES.ora.
0
 
LVL 5

Expert Comment

by:sora
ID: 6993042
will follow this thread


sora
0
 
LVL 6

Author Comment

by:PIERCGG
ID: 6996546
That was it.  Thanks you.
0

Featured Post

Industry Leaders: 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

Suggested Solutions

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
Via a live example, show how to take different types of Oracle backups using RMAN.

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