you're reading...
SQL Server

SSIS Package Fails with Stored Procedure as Data Source (error code 0xC02092B4)

If the execution of a stored procedure as an OLE DB data source fails in your data flow  with the following errors:

Error: A rowset based on the SQL command was not returned by the OLE DB provider.

Error: component “XYZ” (1) failed the pre-execute phase and returned error code 0xC02092B4.

Try the following corrections in your stored procedure:

1. Setting NOCOUNT ON

2. Removing PRINT, CAST and CONVERT statements from the stored procedure

3. If you use temp tables inside the SP use SET FMTONLY OFF command

Anything in your stored proc that does not return a proper record set will cause this error.


About ldgaller

Accomplished Data Warehouse Architect, DBA and Software Architect with over 15 years of professional experience and demonstrated success designing and implementing solutions that improve business functionality and productivity. Highly diverse technical background with proven ability to design, develop and implement technology on an enterprise level. I approach all projects with passion, diligence, integrity, and exceptional aptitude.


No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: