Hi,
In IS2008 SP1, I have an OLEDB source component that uses an Analysis Services OLEDB connection to run an MDX statement (set in the "SQL command text" property). This already worked for other cubes with the same MDX statement (apart from different hierarchy and cube names) in several other IS packages.
But in this package, I keep getting the following errors when executing:
Error: 2011-12-08 14:12:42.70
Code: 0xC0202009
Source: myDataflow myOLEDBsource [190]
Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred.
Error code: 0x80040E21.
End Error
Error: 2011-12-08 14:12:42.70
Code: 0xC004701A
Source: myDataflow SSIS.Pipeline
Description: component "myOLEDBsource" (190) failed the pre-execute phase and returned error code 0xC0202009.
End Error
As usual with AS OLEDB, you get warnings for all columns that the data type is unknown and hence set to DT_WSTR(255). This is the case for the working packages and for the non-working one.
And when I click on the "Preview" button in the OLEDB source, I see the three column two row resultset as expected.
As I found some other posts with similar error messages that could be resolved by changing the 32 bit and 64 bit setting, I tried in BIDS 2008 (32 bit) on Vista 32 bit, dtexec 32 bit on the same computer, dtexec 64 bit and dtexec 64 bit on a Win2008 server, all with the same results.
SQL Server Profiler shows that the MDX statement is executed without errors when running the package. I do not see any relevant difference between the working packages/cubes and those not working. I re-created the OLEDB source component several times, even copied it over from a working package, and still have no success.
I even executed the statements in an XMLA sheet in Management Studio with the PropertyList taken from the trace, without seeing anything obvious in the result.
Any ideas what I could do to get this working?
Is there any reference explaining OLEDB error codes?
Thanks
Frank
In IS2008 SP1, I have an OLEDB source component that uses an Analysis Services OLEDB connection to run an MDX statement (set in the "SQL command text" property). This already worked for other cubes with the same MDX statement (apart from different hierarchy and cube names) in several other IS packages.
But in this package, I keep getting the following errors when executing:
Error: 2011-12-08 14:12:42.70
Code: 0xC0202009
Source: myDataflow myOLEDBsource [190]
Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred.
Error code: 0x80040E21.
End Error
Error: 2011-12-08 14:12:42.70
Code: 0xC004701A
Source: myDataflow SSIS.Pipeline
Description: component "myOLEDBsource" (190) failed the pre-execute phase and returned error code 0xC0202009.
End Error
As usual with AS OLEDB, you get warnings for all columns that the data type is unknown and hence set to DT_WSTR(255). This is the case for the working packages and for the non-working one.
And when I click on the "Preview" button in the OLEDB source, I see the three column two row resultset as expected.
As I found some other posts with similar error messages that could be resolved by changing the 32 bit and 64 bit setting, I tried in BIDS 2008 (32 bit) on Vista 32 bit, dtexec 32 bit on the same computer, dtexec 64 bit and dtexec 64 bit on a Win2008 server, all with the same results.
SQL Server Profiler shows that the MDX statement is executed without errors when running the package. I do not see any relevant difference between the working packages/cubes and those not working. I re-created the OLEDB source component several times, even copied it over from a working package, and still have no success.
I even executed the statements in an XMLA sheet in Management Studio with the PropertyList taken from the trace, without seeing anything obvious in the result.
Any ideas what I could do to get this working?
Is there any reference explaining OLEDB error codes?
Thanks
Frank