Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

SSIS assigning recordset to object fails from a select statement

$
0
0

I have a problem testing a 2005 SSIS package on my local machine which works on the server.

I have reduced the package to 1 select statement giving a value to a variable.

When I run this as a single row and assign the field to a into variable, it works, but when I change the type to a full recordset and change the variable to an object, it fails with the message

[Execute SQL Task] Error: Executing the query "SELECT TOP 1 [Stat_Count]   ,[Stat_Ref]       ,[Run_Date]   FROM [rabit_db].[dbo].[dbStats]" failed with the following error: "Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING))". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

The same DTX file works ok on a colleagues pc.

Can anybody help please?


Viewing all articles
Browse latest Browse all 24688

Trending Articles