Solved

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

Posted on 2007-11-15
2
6,706 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
2 Comments
 
LVL 10

Assisted Solution

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

Accepted Solution

by:
edjones1 earned 0 total points
Comment Utility

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

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now