Error with basic SSIS Job
I'm writing a very basic SSIS job using VS2005, SQL2005 SP2 The job consists of 2 control flow items an XML Transfer which works fine, and an Execute SQL Task which performs the following: Update DVD.LibrarySet Title = CASE When Title like 'The %' THEN (SUBSTRING(Title, 5, 255) + ', The') When Title like 'An %' THEN (SUBSTRING(Title, 4, 255) + ', An') When Title like 'A %' THEN (SUBSTRING(Title, 3, 255) + ', A') Else Title END; The error is: [Execute SQL Task] Error: Executing the query "" failed with the following error: "Retrieving the COM class factory for component with CLSID {7816B7A3-CD60-4539-BD38-C35AFC61F200} failed due to the following error: 80040154.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. Mike The book from which I've taken the sample says nothing about setting the Resultset, connection or parameters properties. Any guidance would be appreciated. Mike
March 8th, 2008 1:07am

Mike - You mentioned that "The book from which I've taken the sample says nothing about setting the Resultset, connection or parameters properties." If you open up the "Execute SQL task", what do you have the "Connection" property set to? If there isn't a connection set up, you can select "New" and create a new conncetion to define which database to execute this task against.
Free Windows Admin Tool Kit Click here and download it now
March 8th, 2008 1:43am

Matt: Sorry I was mistaken there is a connection in the properties of the SQL Task, which is Adventure Works the same as in the Connection Manager and the SQL Server Destination in the Data Flow. Result Set is currently set to none, but I've tried the other setting with similiar results. Here is something else. When I edit the SQL Server Destination of the Data Flow and hit the Preview button on the Sql Destination Editor I get: TITLE: Microsoft Visual Studio------------------------------ Retrieving the COM class factory for component with CLSID {7816B7A3-CD60-4539-BD38-C35AFC61F200} failed due to the following error: 80040154. ------------------------------BUTTONS: OK------------------------------ Which is odd since when I execute the job the Data Flow for the XML Transfer completes successfully. Mike
March 8th, 2008 1:57am

Mike - I found someone else who was getting the same error and resolved it by registering SQLTaskConnections.dll using RegSvr32. Here's the link. Hope it helps! Matt
Free Windows Admin Tool Kit Click here and download it now
March 9th, 2008 12:14am

Thank you Matt. I will give that a try on Monday, and let the thread know whether it worked or not. Mike
March 9th, 2008 5:01am

Thanks Matt, that worked. Mike
Free Windows Admin Tool Kit Click here and download it now
March 11th, 2008 2:01am

Thanks a lot !! That helped me too.Anna
July 3rd, 2008 6:35pm

Hey matt, Worked fine. Thanks a lot!!
Free Windows Admin Tool Kit Click here and download it now
May 9th, 2009 9:14am

Thank You. This worked!!!
January 8th, 2010 9:10pm

Worked for me too, thanks.
Free Windows Admin Tool Kit Click here and download it now
February 22nd, 2010 6:05pm

hi Matt, the link doesn't work... do you have other page?
March 16th, 2011 10:41pm

hi Matt, the link doesn't work... do you have other page? Hi Matt. I would also like to see this ....... do you have an other link?
Free Windows Admin Tool Kit Click here and download it now
April 18th, 2011 7:04am

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

Other recent topics Other recent topics