SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Linked server issues


Linked server issues

Author
Message
newbieuser
newbieuser
SSCrazy
SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)

Group: General Forum Members
Points: 2337 Visits: 915
Hi friends,

I'm trying to create linked server from SQL Server 2005 SP3 on Windows 2003 64-bit to Oracle database 64-bit.

Steps are below:

Installed InstantClient Oracle 11gR2 (11.2.0.1.0) for Microsoft Windows (x64) to C:\Oracle\product\11.2.0\client_1 folder on the SQL Server - database server.

Installed ODAC (11.2.0.2.1) ODAC112021Xcopy_x64 for Windows x64 by executing
install.bat all C:\Oracle\product\11.2.0\client_1 odac

Checked the Allow inprocess of OraOLEDB.Oracle provider in SSMS.

Created ODBC connection to the Oracle database - ORADB. Connection successful via ODBC and sqlplus.

Executed sp_addlinkedserver @server = 'TEST_LINK', @srvproduct = 'Oracle', @provider = 'OraOLEDB.Oracle', @datasrc = 'ORADB'

I have executed sp_addlinkedsrvlogin @rmtsrvname = 'TEST_LINK', @useself = 'FALSE', @rmtuser = 'orauser', @rmtpassword = 'pwd'

The orauser is the oracle username and pwd is the password for the oracle user orauser.

When I click Test Connection for the linked server TEST_LINK in SSMS, it just hangs.. When I try to run a query
to ORADB , 'select * from TEST_LINK..ORAUSER.TABLE1 ' - it runs forever and eventually SSMS hangs.

Please help.. Thanks
Jo Pattyn
Jo Pattyn
SSCertifiable
SSCertifiable (7K reputation)SSCertifiable (7K reputation)SSCertifiable (7K reputation)SSCertifiable (7K reputation)SSCertifiable (7K reputation)SSCertifiable (7K reputation)SSCertifiable (7K reputation)SSCertifiable (7K reputation)

Group: General Forum Members
Points: 7035 Visits: 10009
Have a look at
Your way is much clearer than mine using the full oracleinstall.
cpacenka 34603
cpacenka 34603
Grasshopper
Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)

Group: General Forum Members
Points: 21 Visits: 12
Were you able to resolve this issue? I am facing the same problem with sql server 2012.

Cheryl
newbieuser
newbieuser
SSCrazy
SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)

Group: General Forum Members
Points: 2337 Visits: 915
Yes.. it was some network related problem. After reboot of the server, it worked
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search