November 5, 2012 at 4:27 am
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.
November 5, 2012 at 4:43 am
Is the Oracle driver you installed a 32 bit driver or a 64 bit driver?
November 5, 2012 at 5:00 am
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.
November 5, 2012 at 5:09 am
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.
November 8, 2012 at 10:42 pm
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.
November 8, 2012 at 11:16 pm
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
November 8, 2012 at 11:20 pm
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/[/url]
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply