Solved

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

Posted on 2007-11-15
2
6,761 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:Ed
[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:
Ed 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
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.

688 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