Error when using a stored procedure in OLE DB source
I am trying to use a stored procedure in the OLE DB source, I am using the SQL Command for the Data Access mode. It returns values when using the preview but when I test the package I receive the error, "A rowset based on the SQL command was not returned by the OLE DB provider."
June 27th, 2006 11:46pm

how is theole db source configured?
Free Windows Admin Tool Kit Click here and download it now
June 28th, 2006 9:16am

For the the connection manager I just have a basic connection to the Sql server and then I am using the SQL command for the data access mode. The connection manager does work when I use other access modes like the table and view option.
June 28th, 2006 9:51pm

how is the connection manager configured? you may need to use a different configuration.
Free Windows Admin Tool Kit Click here and download it now
June 29th, 2006 8:36am

ConnectionManagerType = OLEDBData Source = ABCSERVER;Initial Catalog=ABCDATABASE;Provider=SQLNCLI.1;OLE DB Services=-13;Integrated Security=SSPI;Auto Translate=True;DataSourceID = DelayValidation = FalseDescription = RetainSameConnection = FalseSupportsDTCTransactions = True
June 29th, 2006 7:09pm

DustinT wrote:ConnectionManagerType = OLEDBData Source = ABCSERVER;Initial Catalog=ABCDATABASE;Provider=SQLNCLI.1;OLE DB Services=-13;Integrated Security=SSPI;Auto Translate=True;DataSourceID = DelayValidation = FalseDescription = RetainSameConnection = FalseSupportsDTCTransactions = Trueif i'm not mistaken, the sql native client provider (SQLNCLI.1) only works with sql server 2005. if you are using a different version of sql server, then try using the microsoft ole db provider for sql server (SQLOLEDB.1)
Free Windows Admin Tool Kit Click here and download it now
June 30th, 2006 10:54am

See http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=366077&SiteID=1
July 1st, 2006 8:24am

This old chestnut, just add "SET NOCOUNT ON" to the start of your SP (I assume it's an SP right?) yeah this always stuffs me up eh :) Cheers
Free Windows Admin Tool Kit Click here and download it now
March 31st, 2011 2:20am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics