Tom,
Do you have multiple tnsnames.ora's on your system?
It sounds like the one that MS is using doesn't have
the alias you're using, or the file doesn't exist at
all, whereas the one that gets used by SQL*Plus does.
You might also check the sqlnet.ora's to make sure the
default.domain's are the same.
HTH,
- Anita
- tharleman_at_iquest.net wrote:
> I'm trying to connect SQL Server to Oracle 8i.
> I realize this is more of a Microsoft issue, but
> hopefully someone here has
> experienced this, also.
>
> I'm using Microsoft Enterprise Manager to create a
> Linked Server to Oracle 8i.
> I'm using the MS OLE DB Provider for Oracle that is
> included in SQL Server 7.0.
>
>
> After creating the link when I try to view the
> tables, I get an alert dialog
> that reads, "Error 7399: OLE DB provider 'MSDAORA'
> reported an error."
>
> When I try to use the link in SQL Server Query
> Analyzer, I get the message,
>
> Server: Msg 7399, Level 16, State 1, Line 1
> OLE DB provider 'MSDAORA' reported an error.
> [OLE/DB provider returned message: ORA-12154:
> TNS:could not resolve service]
>
>
> However, I CAN connect to the database using
> SQL*Plus from the server and the
> client computers.
>
> I checked the TNSNAMES.ORA file and it appears to be
> correct.
>
> Does anyone have any suggestions about where I
> should start looking?
>
> I did find an article at
>
support.microsoft.com/support/kb/articles/Q244/6/61.asp
> entitled, "INFO: Microsoft Oracle ODBC Driver and
> Provider Support Connectivity
> to Oracle 8i"
>
> It says that the drivers "that are released with
> MDAC 2.5 have been tested and
> support connectivity to Oracle 8i. None of the
> earlier versions of this driver
> and the provider support this behavior."
>
> Is it ORACLE or MICROSOFT?
>
> Tom Harleman
> 11080 Willowmere Dr.
> Indianapolis, IN 46280
> 317-844-2884 Home
> 317-843-9122 Home Office
>
>
> --
> Author:
> INET: tharleman_at_iquest.net
>
> Fat City Network Services -- (858) 538-5051 FAX:
> (858) 538-5051
> San Diego, California -- Public Internet
> access / Mailing Lists
>
> To REMOVE yourself from this mailing list, send an
> E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of
> 'ListGuru') and in
> the message BODY, include a line containing: UNSUB
> ORACLE-L
> (or the name of mailing list you want to be removed
> from). You may
> also send the HELP command for other information
> (like subscribing).
Received on Wed Jun 21 2000 - 19:21:18 CDT