Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

MSSQL 2005 Can't Query Linked Oracle Server
Hello All:

I am trying to create a server link between MSSQL 2005 and Oracle 9.2.0.7.
I can successfully execute the sp_addlinkedserver
and  sp_addlinkedsrvlogin
s function but when I attempt to execute a query
against the Oracle server such as:

SELECT * FROM OPENQUERY(SD03, 'SELECT * FROM V$VERSION')

I receive the following error:

Msg 7403, Level 16, State 1, Line 1
The OLE DB provider " MSDAORA" has not been registered.

I then go to the C:\Program Files\Common Files\System\Ole DB folder and
execute the following:

regsvr32 msdaora.dll

which returns success and rerun the query, the error persists.  I ran
Component Checker to confirm the MDAC is 2.82.

What do I need to execute queries against the Oracle server from MSSQL 2005.

Thanks,



Report this thread to moderator Post Follow-up to this message
Old Post
mike21
04-08-06 01:23 AM


Re: MSSQL 2005 Can't Query Linked Oracle Server
"mike21" <rg6584@comcast.net> wrote in message
news:OQptDBpWGHA.3760@TK2MSFTNGP02.phx.gbl...
> Hello All:
>
> I am trying to create a server link between MSSQL 2005 and Oracle 9.2.0.7.
> I can successfully execute the sp_addlinkedserver
> and  sp_addlinkedsrvlogin
s function but when I attempt to execute a query
> against the Oracle server such as:
>
> SELECT * FROM OPENQUERY(SD03, 'SELECT * FROM V$VERSION')
>
> I receive the following error:
>
> Msg 7403, Level 16, State 1, Line 1
> The OLE DB provider " MSDAORA" has not been registered.
>
> I then go to the C:\Program Files\Common Files\System\Ole DB folder and
> execute the following:
>
> regsvr32 msdaora.dll
>
> which returns success and rerun the query, the error persists.  I ran
> Component Checker to confirm the MDAC is 2.82.
>
> What do I need to execute queries against the Oracle server from MSSQL
> 2005.
>

You need to install the Oracle Client software and reboot.  Also you should
use the OleDB provider from Oracle, since the MS provider was not kept
up-to-date with later versions of Oracle.

 David

> Thanks,
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
David Browne
04-08-06 01:23 AM


Re: MSSQL 2005 Can't Query Linked Oracle Server
Hello David:

I have the Oracle 9i client installed and tested successfully against the
Oracle server.  I rebooted the MSSQL 2005 server, executed the same query
and received the same error:

Msg 7403, Level 16, State 1, Line 1
The OLE DB provider " MSDAORA" has not been registered.

Would I be better off trying an ODBC connection?  I thought the OLE
connection would be best for migration of Oracle data to MSSQL 2005 server.

Thanks for your speedy response.

Mike


"David Browne" <davidbaxterbrowne no potted meat@hotmail.com> wrote in
message news:ui$irDpWGHA.4212@TK2MSFTNGP02.phx.gbl...
>
> "mike21" <rg6584@comcast.net> wrote in message
> news:OQptDBpWGHA.3760@TK2MSFTNGP02.phx.gbl... 
>
> You need to install the Oracle Client software and reboot.  Also you
> should use the OleDB provider from Oracle, since the MS provider was not
> kept up-to-date with later versions of Oracle.
>
> David 
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
mike21
04-08-06 01:23 AM


Re: MSSQL 2005 Can't Query Linked Oracle Server
"mike21" <rg6584@comcast.net> wrote in message
news:ej9NELpWGHA.3908@TK2MSFTNGP03.phx.gbl...
> Hello David:
>
> I have the Oracle 9i client installed and tested successfully against the
> Oracle server.  I rebooted the MSSQL 2005 server, executed the same query
> and received the same error:
>
> Msg 7403, Level 16, State 1, Line 1
> The OLE DB provider " MSDAORA" has not been registered.
>
> Would I be better off trying an ODBC connection?  I thought the OLE
> connection would be best for migration of Oracle data to MSSQL 2005
> server.
>

No.  OleDB is required for linked server.  Try Oracle's OleDB provider.

David



Report this thread to moderator Post Follow-up to this message
Old Post
David Browne
04-08-06 01:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 09:09 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006