2010-10-12 162 views
0

我們擁有一批進口工作,以前工作的罰款。這些dtx軟件包在安裝了Office 2007的Windows XP盒子上從VS2005執行。SSIS包導入Excel文件到SQL Server

開發商還沒有得到一個不錯的新機,64位,Windows 7中,Office 2010的現在,當他試圖執行他得到以下錯誤的包:

SSIS package "Import_BygningsKategorier.dtsx" starting. Information: 0x4004300A at Data Flow - Import_BygningsKategorier, DTS.Pipeline: Validation phase is beginning. Error: 0xC0202009 at Import_BygningsKategorier, Connection manager "Excel Connection Manager": 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". Error: 0xC020801C at Data Flow - Import_BygningsKategorier, Source - Import_BygningsKategorier [1]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed. Error: 0xC0047017 at Data Flow - Import_BygningsKategorier, DTS.Pipeline: component "Source - Import_BygningsKategorier" (1) failed validation and returned error code 0xC020801C. Error: 0xC004700C at Data Flow - Import_BygningsKategorier, DTS.Pipeline: One or more component failed validation. Error: 0xC0024107 at Data Flow - Import_BygningsKategorier: There were errors during task validation. SSIS package "Import_BygningsKategorier.dtsx" finished: Failure. The program '[6332] Import_BygningsKategorier.dtsx: DTS' has exited with code 0 (0x0).

它看起來像問題可能是一個班級沒有註冊,我們如何找出哪些班級沒有註冊?

+0

「的開發商*不*有一個不錯的新機」 - 這可能是爲什麼... – GSerg 2010-10-12 11:16:32

回答

1

爲Excel OLEDB驅動程序不存在64位。

運行DTS導入實用程序的32位版本(應該包含,看看在開始菜單)。

+0

謝謝,這是有關64位,我們不得不在項目的屬性設置爲Use64bitRuntime = FALSE – 2010-10-12 11:22:57