Solved

Cannot exexute SSIS  package on sql 2005  from job on 64 bit server -  Class not registered

Posted on 2007-11-15
2
6,748 Views
Last Modified: 2013-11-30
Hi

I'm trying to get a SSIS package to run from a sql server agent job but it won't becase I heep getting the below error. I can run the package manually but it won't run from a job and I get the same error when I try to execute it from a DOS command too from a local directory on the server.

Eg

dtexec /F "C:\CommTrak\CTI.dtsx"

I know its somthing to do with the sql server being on a 64 bit computer but just can't work out how to make it run from a job or batch file.



==============================================
error



09/10/2007 16:38:53,NewCTimport,Error,1,SQL36,NewCTimport,NewCTImport,,Executed as user: SQL1\Administrator. ...9.00.3042.00 for 64-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  4:38:53 pm  Error: 2007-09-10 16:38:57.45     Code: 0xC0202009     Source: NewCTImport Connection manager "SourceConnectionOLEDB"     Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040154.  An OLE DB record is available.  Source: "Microsoft OLE DB Service Components"  Hresult: 0x80040154  Description: "Class not registered".  End Error  Error: 2007-09-10 16:38:57.45     Code: 0xC020801C    
Source: Data Flow Task Source - qryLenderCriteria [1]     Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "SourceConnectionOLEDB" failed with error code 0xC0202009.

==================================================================================================
==============================================
error
 
 
 
09/10/2007 16:38:53,NewCTimport,Error,1,SQL36,NewCTimport,NewCTImport,,Executed as user: SQL1\Administrator. ...9.00.3042.00 for 64-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  4:38:53 pm  Error: 2007-09-10 16:38:57.45     Code: 0xC0202009     Source: NewCTImport Connection manager "SourceConnectionOLEDB"     Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040154.  An OLE DB record is available.  Source: "Microsoft OLE DB Service Components"  Hresult: 0x80040154  Description: "Class not registered".  End Error  Error: 2007-09-10 16:38:57.45     Code: 0xC020801C     
Source: Data Flow Task Source - qryLenderCriteria [1]     Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "SourceConnectionOLEDB" failed with error code 0xC0202009.
 
==================================================================================================

Open in new window

0
Comment
Question by:edjones1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Assisted Solution

by:pai_prasad
pai_prasad earned 100 total points
ID: 20293975
check if downloading latest MDAC ver helps...
sounds like a component is missing
0
 

Accepted Solution

by:
edjones1 earned 0 total points
ID: 20297004

OK fixed it now.

The fix was to get the job to run on a 64 bit machine there are 2 main points to note.

1.      When designing an SSIS project you must set the RUN64BITRUNTIME  project property to FALSE, this must be done in debug mode though in VS.  
2.      You must run the Job to access the dts package via command line like this.

C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\DTExec.exe /f "C:\Commtrak\CTI.dtsx" /MAXCONCURRENT " -1 " /CHECKPOINTING OFF  /REPORTING EW
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question