gpt4 book ai didi

ssis - 如何将SSIS包部署到sql server实例

转载 作者:行者123 更新时间:2023-12-01 14:03:53 26 4
gpt4 key购买 nike

我已经创建了一个 SSIS 包,用于将数据从 Excel 导入到 Sql DB。我还将它部署在 SQL SERVER 实例 上,但是当我运行该包抛出作业时,它会出现一些错误。

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位操作系统.XLS Excel文件导入,即MS EXCEL 2003

我需要解决方案,任何人都可以帮助我....???

最佳答案

您的包失败的原因是因为您打开了 excel 文件。关闭文件并尝试再次运行包。

错误消息:“Microsoft Jet 数据库引擎无法打开文件 ''。 它已被其他用户以独占方式打开,或者您需要获得查看其数据的权限。”。

关于ssis - 如何将SSIS包部署到sql server实例,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15492250/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com