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

Strange Linked server issue Expand / Collapse
Author
Message
Posted Thursday, May 10, 2012 4:16 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, October 14, 2014 12:02 PM
Points: 2, Visits: 182
Hi All,


I am having problem with pulling data from Linked Server that I have created using "Oracle Oledb Provider". I am able to created Linked server and tested the connection successfully. But I am unable select the data from table when running SELECT statement. I have used both four part naming and OPENQUERY method. I am getting same error in both cases.



Here is the error I am getting.

Msg 7399, Level 16, State 1, Line 1

The OLE DB provider "OraOLEDB.Oracle" for linked server "IMPRX_D" reported an error. The provider did not give any information about the error.

Msg 7330, Level 16, State 2, Line 1

Cannot fetch a row from OLE DB provider "OraOLEDB.Oracle" for linked server "IMPRX_D".


Environment:


SQL Server 2005 SP3 32-Bit

Windows 2008 R2 64 Bit

Oracle 11g Client 64 bit



Please let me know if I missed to provide any details.



Thanks

Madhu Pradeep
Post #1298249
Posted Monday, May 14, 2012 8:06 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, October 14, 2014 12:02 PM
Points: 2, Visits: 182
All,

I have fixed it using "Allow in Process" Setting of "Oracle.oledb" provider.

1. Unchecked "Allow In Process" setting for provider.
2. Created Linked Server.
3. Checked "Allow In process" setting for provider.

I could n't created Linked server when above setting is enabled, So I had to uncheck the option and create the linked server.

But I don't really understand why.

If anyone has same experience and know the reason, Please post here.

Thanks
Madhu Pradeep
Post #1299584
Posted Tuesday, July 1, 2014 1:51 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, September 2, 2014 1:15 PM
Points: 2, Visits: 50
Hi,

I had the same error message popping up after a few rows being retrieved from the linked server. The same query when ran on a different data set, was working fine without any errors. Then I started some research and came to know that, it was a data related issue.

In my scenario, the select statement was having a case condition which was failing to validate.

Thanks
Kranthi
Post #1588185
Posted Thursday, August 7, 2014 11:13 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, August 11, 2014 4:34 AM
Points: 7, Visits: 11
I just read your problem but don't think it is server issue it is some kind of problem in data which you use to work with Oracle. Try to check out carefully find some fault in it.

magento development india | web programming india
Post #1601023
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse