Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

windows server 2008R2 SQL SERVER-2008 64 bit Expand / Collapse
Author
Message
Posted Monday, November 5, 2012 4:27 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, January 16, 2013 3:02 AM
Points: 5, Visits: 19
Hi,
I have windows 2008 R2 64 bit OS and SQL Server 2008 64 bit.
I need to create the Linked server to oracle. I installed oracle instant client 11.2 on the server and trying to create the Linked server to ORacle from SQL as following


EXEC sp_addlinkedserver
@server = 'Tampa_A',
@srvproduct = 'Oracle',
@provider = 'MSDASQL',
@provstr = 'DRIVER={Oracle in instantclient_11_2};DataSource =ORACLEServerIP:1521/SErvicename;UID=username;PWD=password;'
getting the error 'can not initialize the data source object of ole db provider MSDASQL' error no 7303


Using same instant client on same machine I am able to connect from 32 bit windows application.
Please suggest any workaround.
Can thin client work for 64 bit SQLserver?
Thanks in advance.
Post #1380973
Posted Monday, November 5, 2012 4:43 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 8:54 AM
Points: 5,149, Visits: 4,961
Is the Oracle driver you installed a 32 bit driver or a 64 bit driver?



Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1 & Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger

Post #1380982
Posted Monday, November 5, 2012 5:00 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, January 16, 2013 3:02 AM
Points: 5, Visits: 19
I downloaded it from oracle site for 64 bit from http://www.oracle.com/technetwork/topics/winx64soft-089540.html but is showing sqora32.dll in odbc.
Post #1380995
Posted Monday, November 5, 2012 5:09 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 8:54 AM
Points: 5,149, Visits: 4,961
I've see this when using a 32 bit driver on a 64 bit SQL server, but not with a 64 bit driver, so I'm at a stump now.



Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1 & Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger

Post #1381004
Posted Thursday, November 8, 2012 9:10 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 11:45 PM
Points: 7,094, Visits: 12,582
Have you tried using the MSDAORA provider instead of MSDASQL?

Here is a tutorial from 2006 that should still be relevant for SQL 2008.


__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Post #1382559
Posted Thursday, November 8, 2012 10:42 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, January 16, 2013 3:02 AM
Points: 5, Visits: 19
Hi,
I am not getting MSDORA in providers list while creating Linked server from SQL studio.
I have successfully installed oracle instant client and able to connect from 32 bit application.
OS is windows2008R2 and SQL Server is 2008 64 bit. I need compatible drivers for 64 bit so that I can create linked server to oracle.



Post #1382820
Posted Thursday, November 8, 2012 11:16 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 11:45 PM
Points: 7,094, Visits: 12,582
Sorry, I am not sure why I mentioned it at all for since you are on 64-bit, I wasn't paying close attention and only picked up on "32" being discussed in a couple posts. MSDORA will not be available for you on 64-bit.

Back to MSDASQL...have you tried creating a 64-bit ODBC DSN and referencing the DSN in your Linked Server? Creating the DSN will also allow you the chance to test the connection ahead of time, prior to attempting to use it with a Linked Server which may help you narrow down where the issue resides.


__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Post #1382827
Posted Thursday, November 8, 2012 11:20 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 11:45 PM
Points: 7,094, Visits: 12,582
Here is a pretty complete walk-through implementing the Oracle OLE DB driver on 64-bit SQL 2005 connecting to Oracle 10g via a Linked Server. I would expect the steps to translate to SQL 2008 and Oracle 11.2 unless the Oracle Drivers took a step backward.

http://www.mssqltips.com/sqlservertip/1433/how-to-setup-linked-servers-for-sql-server-and-oracle-64-bit-client/


__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Post #1382831
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse