2013-03-19 49 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数据库引擎无法打开文件” 它已被另一用户专门打开,或者您需要查看其数据的权限。