2015-07-10 55 views
1

在我的本地機器中,SQL作業完美運行。在SQL作業裏面有一個SSIS包,它抓取Excel數據並加載到Staging表中。在我的系統中有Microsoft Excel 2010Excel連接管理器的SSIS包問題

現在問題出現在Development Server上。 與網絡文件夾中運行問題相同的SSIS包的作業相同。開發服務器包含一個Excel 2013

我沒有足夠的信譽來顯示錯誤消息的屏幕截圖。這是錯誤的說法。

Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. 
Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft Office Access Database Engine" 
Hresult: 0x80004005 Description: "External table is not in the expected format.". 
End Error Error: 2015-07-10 14:16:05.52  
Code: 0xC020801C  
Source: Data Flow Task Excel Source [2]  
Description: 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: 2015-07-10 14:16:05.52  
Code: 0xC0047017  
Source: Data Flow Task SSIS.Pipeline  
Description: Excel Source failed validation and returned error code 0xC020801C. 

Error: 2015-07-10 14:16:05.52  
Code: 0xC004700C  
Source: Data Flow Task SSIS.Pipeline  
Description: One or more component failed validation 
+0

1)它包含一個Excel文件路徑。 ** \\ nwhfile1 \ nwh \ SharedPrivateFolders \ IT_Finance \ ITProgramming_FinanceAccounting \ BOA_Cleared_test \ nhllc_paid_chks.xlsx **和Excel版本2007 –

+0

您是否在服務器之間使用相同的文件? – Randall

+0

可能的重複[http://stackoverflow.com/questions/1139390/excel-external-table-is-not-in-the-expected-format](http://stackoverflow.com/questions/1139390/excel-external -table-in-expected-format) – saarrrr

回答

1

也有兩件事情 1)請確保您的Excel文件未打開 2)SSIS不能使用在64位模式出類拔萃,如果使用SQL作業您選擇更改部署設置使用32位運行時(,檢查設置)

+0

有關如何指定32位驅動程序的詳細信息,請參閱此URL http://www.codeproject.com/Articles/534651/How-to-solve-SSIS-錯誤碼0xC020801C-0xC004700C – BobF

相關問題