I have a view on a remote server that JOINS data from SQL tables and an OPENQUERY to an Oracle linked server. From my dev server, I can connect to that server in Mgmt Studio and query that view no problem. When I try to create an OLEDB Source in BIDS that connects to that server and that view, however, I get the following error when I preview and when I execute the package:
Cannot get the date of the row from the OLE DB provider "OraOLEDB.Oracle" for linked server LINKEDSERVERNAME. OLE DB provider "OraOLEDB.Oracle" for linked server LINKEDSERVERNAME returned message "ORA-01403: no data found."
If I change the OLEDB source to be a SQL statement and paste in the exact same SQL that the view is based on, it works perfectly.
I'd really rather use the view than have embedded SQL in my SSIS package. Any thoughts?