<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: SSIS: Issue with OLE DB Source component that is based on parametrized SQL Query</title>
	<atom:link href="http://www.ssas-info.com/VidasMatelisBlog/32_ssis-issue-with-ole-db-source-component-that-is-based-on-parametrized-sql-query/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ssas-info.com/VidasMatelisBlog/32_ssis-issue-with-ole-db-source-component-that-is-based-on-parametrized-sql-query</link>
	<description>My work with Microsoft BI, SQL Server Analysis Services 2005, 2008</description>
	<pubDate>Tue, 18 Nov 2008 15:10:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Brian</title>
		<link>http://www.ssas-info.com/VidasMatelisBlog/32_ssis-issue-with-ole-db-source-component-that-is-based-on-parametrized-sql-query#comment-1041</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Tue, 24 Jun 2008 15:38:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.ssas-info.com/VidasMatelisBlog/32_ssis-issue-with-ole-db-source-component-that-is-based-on-parametrized-sql-query#comment-1041</guid>
		<description>OLEDB continue to haunt :-(

All, I'm trying is to just read from a excel and write into a Oracle table.

I've a simple package that does that, when I attempt to execute on  32 bit machine. it loads without any problem. 

When I take the same package and execute in 64bit platform, it simply fails with message

Error: 
SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  
The AcquireConnection method call to the connection manager "DestinationConnectionOLEDB" failed with error code 0xC0202009. 


I'm just curious is someone EVER successfully loaded data into Oracle using OLEDB ?

Thanks
Brian</description>
		<content:encoded><![CDATA[<p>OLEDB continue to haunt :-(</p>
<p>All, I&#8217;m trying is to just read from a excel and write into a Oracle table.</p>
<p>I&#8217;ve a simple package that does that, when I attempt to execute on  32 bit machine. it loads without any problem. </p>
<p>When I take the same package and execute in 64bit platform, it simply fails with message</p>
<p>Error:<br />
SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.<br />
The AcquireConnection method call to the connection manager &#8220;DestinationConnectionOLEDB&#8221; failed with error code 0xC0202009. </p>
<p>I&#8217;m just curious is someone EVER successfully loaded data into Oracle using OLEDB ?</p>
<p>Thanks<br />
Brian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Surendra</title>
		<link>http://www.ssas-info.com/VidasMatelisBlog/32_ssis-issue-with-ole-db-source-component-that-is-based-on-parametrized-sql-query#comment-1034</link>
		<dc:creator>Surendra</dc:creator>
		<pubDate>Mon, 23 Jun 2008 06:40:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.ssas-info.com/VidasMatelisBlog/32_ssis-issue-with-ole-db-source-component-that-is-based-on-parametrized-sql-query#comment-1034</guid>
		<description>SSIS OLE DB Source returns empty set when it is based on the SQL Query 
when we using query
select...
from..
where Changecontrol &#62; cast(cast(? as bigint) as binary(8))
what is the issue ?
we are getting the result for the same query when we running in management studio.</description>
		<content:encoded><![CDATA[<p>SSIS OLE DB Source returns empty set when it is based on the SQL Query<br />
when we using query<br />
select&#8230;<br />
from..<br />
where Changecontrol &gt; cast(cast(? as bigint) as binary(8))<br />
what is the issue ?<br />
we are getting the result for the same query when we running in management studio.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://www.ssas-info.com/VidasMatelisBlog/32_ssis-issue-with-ole-db-source-component-that-is-based-on-parametrized-sql-query#comment-1001</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Mon, 16 Jun 2008 07:28:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.ssas-info.com/VidasMatelisBlog/32_ssis-issue-with-ole-db-source-component-that-is-based-on-parametrized-sql-query#comment-1001</guid>
		<description>I was stuck with connectvity problem from SSIS when executing SQL task that connects to Oracle database.
i keep getting the error

I'm running on  SQLserver2005 on 64bit Win 2003 SP2.
I have one SSIS package which reads and writes data from (and to) Oracle database.
I tried with OLEDB and ODBC, I can connect and sucessfully test (while creating the connection) from BIS, but
when I attempt to execute the package in BIS, I get the error 

[Execute SQL Task] Error: Failed to acquire connection "dw.world.cud". Connection may not be configured correctly or you may not have the right permissions on this connection. 

I've read somewhere,that its compatibility of 64bit oracle driver problem , while oracle donot have 64bit, BIS try to connect thru 64bit. So, later on I tried using dtsrun.exe in \program Files x86 \... however this time
get below error. 

C:\ProgramFilesx86\Microsoft SQL Server\80\Tools\Binn&#62;DTSRun /F D:\
N\PROJECTS\usage\USAGE_DATA.dtsx
DTSRun:  Loading...

Error:  -2147220220 (80040504); Provider Error:  0 (0)
  Error string:  The specified file is not a Package Storage File.
  Error source:  Microsoft Data Transformation Services (DTS) Package
  Help file:  sqldts80.hlp
  Help context:  704

Can someone advise , how can I connect from 64bit machine via SSIS to an remote oracle instance ?.

note : The same package works fine in 34 bit environment &#38; I can connect to oracle, however our actual servers are 64 bit.</description>
		<content:encoded><![CDATA[<p>I was stuck with connectvity problem from SSIS when executing SQL task that connects to Oracle database.<br />
i keep getting the error</p>
<p>I&#8217;m running on  SQLserver2005 on 64bit Win 2003 SP2.<br />
I have one SSIS package which reads and writes data from (and to) Oracle database.<br />
I tried with OLEDB and ODBC, I can connect and sucessfully test (while creating the connection) from BIS, but<br />
when I attempt to execute the package in BIS, I get the error </p>
<p>[Execute SQL Task] Error: Failed to acquire connection &#8220;dw.world.cud&#8221;. Connection may not be configured correctly or you may not have the right permissions on this connection. </p>
<p>I&#8217;ve read somewhere,that its compatibility of 64bit oracle driver problem , while oracle donot have 64bit, BIS try to connect thru 64bit. So, later on I tried using dtsrun.exe in \program Files x86 \&#8230; however this time<br />
get below error. </p>
<p>C:\ProgramFilesx86\Microsoft SQL Server\80\Tools\Binn&gt;DTSRun /F D:\<br />
N\PROJECTS\usage\USAGE_DATA.dtsx<br />
DTSRun:  Loading&#8230;</p>
<p>Error:  -2147220220 (80040504); Provider Error:  0 (0)<br />
  Error string:  The specified file is not a Package Storage File.<br />
  Error source:  Microsoft Data Transformation Services (DTS) Package<br />
  Help file:  sqldts80.hlp<br />
  Help context:  704</p>
<p>Can someone advise , how can I connect from 64bit machine via SSIS to an remote oracle instance ?.</p>
<p>note : The same package works fine in 34 bit environment &amp; I can connect to oracle, however our actual servers are 64 bit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darren Gosbell</title>
		<link>http://www.ssas-info.com/VidasMatelisBlog/32_ssis-issue-with-ole-db-source-component-that-is-based-on-parametrized-sql-query#comment-134</link>
		<dc:creator>Darren Gosbell</dc:creator>
		<pubDate>Fri, 21 Sep 2007 01:52:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.ssas-info.com/VidasMatelisBlog/32_ssis-issue-with-ole-db-source-component-that-is-based-on-parametrized-sql-query#comment-134</guid>
		<description>Sounds suspiciously like the OLEDB Task is stripping out whitespace (including line breaks) before it executes. It's strange that it does not throw an error.</description>
		<content:encoded><![CDATA[<p>Sounds suspiciously like the OLEDB Task is stripping out whitespace (including line breaks) before it executes. It&#8217;s strange that it does not throw an error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vidas Matelis</title>
		<link>http://www.ssas-info.com/VidasMatelisBlog/32_ssis-issue-with-ole-db-source-component-that-is-based-on-parametrized-sql-query#comment-133</link>
		<dc:creator>Vidas Matelis</dc:creator>
		<pubDate>Thu, 20 Sep 2007 11:07:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.ssas-info.com/VidasMatelisBlog/32_ssis-issue-with-ole-db-source-component-that-is-based-on-parametrized-sql-query#comment-133</guid>
		<description>Hi Darren,

Tested this as you suggested with block comments:
SELECT CurrencyKey
  FROM dbo.DimCurrency
/* my comment line */
WHERE CurrencyKey BETWEEN ? and ?

This works no problem, so that is good to know.</description>
		<content:encoded><![CDATA[<p>Hi Darren,</p>
<p>Tested this as you suggested with block comments:<br />
SELECT CurrencyKey<br />
  FROM dbo.DimCurrency<br />
/* my comment line */<br />
WHERE CurrencyKey BETWEEN ? and ?</p>
<p>This works no problem, so that is good to know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darren Gosbell</title>
		<link>http://www.ssas-info.com/VidasMatelisBlog/32_ssis-issue-with-ole-db-source-component-that-is-based-on-parametrized-sql-query#comment-132</link>
		<dc:creator>Darren Gosbell</dc:creator>
		<pubDate>Thu, 20 Sep 2007 06:15:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.ssas-info.com/VidasMatelisBlog/32_ssis-issue-with-ole-db-source-component-that-is-based-on-parametrized-sql-query#comment-132</guid>
		<description>Hi Vidas,

I'm curious to know if the same issue occurs if you use the block comment syntax?

eg.  /* my comment line */</description>
		<content:encoded><![CDATA[<p>Hi Vidas,</p>
<p>I&#8217;m curious to know if the same issue occurs if you use the block comment syntax?</p>
<p>eg.  /* my comment line */</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joschko</title>
		<link>http://www.ssas-info.com/VidasMatelisBlog/32_ssis-issue-with-ole-db-source-component-that-is-based-on-parametrized-sql-query#comment-131</link>
		<dc:creator>Joschko</dc:creator>
		<pubDate>Fri, 14 Sep 2007 07:34:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.ssas-info.com/VidasMatelisBlog/32_ssis-issue-with-ole-db-source-component-that-is-based-on-parametrized-sql-query#comment-131</guid>
		<description>Hello Vidas,
this is very helpful for me.
Just a few days ago i had the same issue.
I moved all OLEDB Tasks to ADO.NET.
Now I know why.
Best regards
Jörg</description>
		<content:encoded><![CDATA[<p>Hello Vidas,<br />
this is very helpful for me.<br />
Just a few days ago i had the same issue.<br />
I moved all OLEDB Tasks to ADO.NET.<br />
Now I know why.<br />
Best regards<br />
Jörg</p>
]]></content:encoded>
	</item>
</channel>
</rss>
