2013-03-19 94 views
3

我已經創建了一個SSIS包,用於將數據從Excel導入到Sql DB。 我也部署它在SQL SERVER Instance,但是當我運行該包拋出工作,它給出了一些錯誤。如何將SSIS包部署到sql服務器實例

ERROR: "Microsoft (R) SQL Server Execute Package Utility Version 10.50.2500.0 for 32-bit Copyright (C) Microsoft Corporation 2010. 
All rights reserved. Started: 11:03:12 Error: 2013-03-19 11:03:12.84  Code: 0xC0202009  
Source: Package2 Connection manager "Excel Connection Manager"  Description: SSIS Error Code DTS_E_OLEDBERROR. 
    An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. 
Source: "Microsoft JET Database Engine" Hresult: 0x80004005 
Description: "The Microsoft Jet database engine cannot open the file ''. 
It is already opened exclusively by another user<c/> or you need permission to view its data.". 
End Error Error: 2013-03-19 11:03:12.84  Code: 0xC020801C  
Source: Creating Staging for Data Excel Data Source [1]  
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. 
End Error Error: 2013-03-19 11:03:12.84  Code: 0xC0047017  
Source: Creating Staging for Data SSIS.Pipeline  
Description: component "Excel Data Source" (1) failed validation and returned error code 0xC020801C. 
End Error Error: 2013-03-19 11:03:12.84  Code: 0xC004700C  
Source: Creating Staging for Data SSIS.Pipeline  Description: One or more component failed validation. 
End Error Error: 2013-03-19 11:03:12.84  Code: 0xC0024107 
    Source: Creating Staging for Data  Description: There were errors during task validation. 
End Error DTExec: The package execution returned DTSER_FAILURE (1). 
Started: 11:03:12 Finished: 11:03:12 Elapsed: 0.219 seconds. 
The package execution failed. The step failed.,00:00:00,0,0,,,,0 

我使用32 bit OS.XLS導入Excel文件,這是MS EXCEL 2003

我需要解決方案cananybody help me .... ???

+2

該錯誤指出「excel文件」已打開。嘗試關閉所有excel文件的實例並重新運行包 – praveen 2013-03-19 05:50:07

+1

感謝Praveen正在工作fine.m做愚蠢mistack – abhi620 2013-03-19 05:53:57

+1

請張貼您的答案並因此將問題標記爲已回答,以便其他人可以從問題中獲得幫助。 – Luv 2013-04-17 09:07:29

回答

3

你的包失敗的原因是你打開了excel文件。關閉該文件並再次運行該包。

錯誤消息:「Microsoft Jet數據庫引擎無法打開文件」 它已被另一用戶專門打開,或者您需要查看其數據的權限。