|    
 
Friday, November 21, 2008
Excel (and Access) Data Source in 64-bit environment
When you try to run a scheduled job (with SSIS package) that connects to Excel or Access file on 64-bit server you will get errors like following:
Excel Destination 1 1 [15]] Error: The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009.
[DTS.Pipeline] Error: component "Excel Destination 1" (15) failed validation and returned error code 0xC020801C.
[Connection manager "Excel Connection Manager "] Error: 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".
This is all due to the fact that SQL Agents tries to run SSIS package using a 64-bit version of dtexec.exe. The utility will try to use 64-bit version of JET/ISAM driver to access Excel/Access files and fail since they do not exist.
Solution is to run 32-bit version of dtexec.exe. You can do that by manually creating the command that references the right utility. First, copy the dtexec parameters of the job step that you created (see picture):

SSIS command line parameters.JPG

Then replace it with a new Opertaing System (CmdExec) job step and assemble the command line from reference to the 32-bit dtutil (typically C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\DTExec.exe) and copied parameters.

 
Print  

Comments
Average rating:  (3.5)
 But what if I need to use a proxy?, 9/25/2008 
Reviewer: Henrik (Vejle, Denmark)
I cannont use a proxy in Run As if I set the Type to Operating System (CmdExec).
 Perfect!, 1/25/2008 
Reviewer: Dave (Elizabethtown, United States)
Thanks, works perfectly!

Rating




*
Title *
Comment  *
Name *
City *
Country *
Print  

SSIS Books @ Amazon
 
Expert SQL Server 2005 Integration Services (Programmer to Programmer)
Paperback
Brian Knight, Erik Veerman
2007-05-29 Wrox
New $31.49
Used $24.95

The Rational Guide to Extending SSIS 2005 with Script (Rational Guides) (Rational Guides)
Paperback
Donald Farmer
2007-03-01 Rational Press
New $16.49
Used $14.99

How to Get SSI & Social Security Disability: An Insider's Step by Step Guide
Paperback
Mike Davis
2000-09 Writers Club Press
New $10.75
Used $7.52

Microsoft SQL Server 2005 Integration Services (SQL Server Series)
Paperback
Kirk Haselden
2006-07-31 Sams
New $37.79
Used $19.90

The Memoirs of Lady Hyegyong: The Autobiographical Writings of a Crown Princess of Eighteenth-Century Korea
Paperback
JaHyun Kim Haboush
1996-04-22 University of California Press
New $24.25
Used $7.95

Urban Warfare in Iraq 2003-2006
Paperback
J. Stevens
2006-06-30 SSI
New $17.99
Used $19.99

IRT from SSI
Paperback
2003-01 Scientific Software International, Inc.
New $50.00

Submission Fighting Techniques
Paperback
SSI (Editor) Steven S. Iverson
2006-07-20 Spartan Submissions, Inc
New $23.39
Used $21.08

Short Story International (SSI) Volume 12, Number 68 (Tales by the World's Great Contemporary Writers Presented Unabridged, 12)
Paperback
Herbert Eisenreich, Albert Russo, Li Hangyu, John Rizkalla, Dorothy Davies, Ama Ata Aidoo, Tetsuro Takahashi, Owen Marshall, Ellyn Bache, Grace Paley
1988 International Cultural Exchange

Used $59.99

The Raw Crunch Diet: Strengthening Your Body from the Inside-Out
Paperback
Kathy Feldman
2005-06-30 SSI, Publishing
New $11.66
Used $7.52

12345
Print  

Copyright (C) 2007 Trigon Blue Inc.     |    Privacy Statement    |    Terms Of Use