【发布时间】:2016-04-28 12:52:43
【问题描述】:
我创建了 SSIS 包以从 MS 访问数据库中提取数据。它在我的本地计算机上运行良好,但当我在 SQL 服务器代理作业的服务器上运行它时失败。
请帮忙。提前致谢。
注意事项:
1.) Access数据库没有用户名和密码
2.) 我在项目级别禁用了 64 位
3.) 使用 Microsoft Jet 4.0 OLEDB Provider 连接 Access db
4.) 我将包和连接的“延迟验证”设置为 True。
5.)PackageProtectionLevel 为 DontSaveSensitive
失败并出现以下错误:
留言
Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server
Execute Package Utility Version 11.0.5058.0 for 32-bit Copyright (C)
Microsoft Corporation. All rights reserved. Started: 6:28:42 PM Error:
2016-01-21 18:28:43.34 Code: 0xC0202009 Source: TransferData_FT1_FTM
Connection manager "ft120" 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: "Disk or network error.". End Error
Error: 2016-01-21 18:28:43.34 Code: 0xC020801C Source: Data Flow
Direct OLE DB Source [33] Description: SSIS Error Code
DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection
method call to the connection manager "ft120" 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: 2016-01-21 18:28:43.34 Code: 0xC0047017 Source: Data Flow
Direct SSIS.Pipeline Description: OLE DB Source failed validation and
returned error code 0xC020801C. End Error Error: 2016-01-21 18:28:43.34
Code: 0xC004700C Source: Data Flow Direct SSIS.Pipeline Description:
One or more component failed validation. End Error Error: 2016-01-21
18:28:43.34 Code: 0xC0024107 Source: Data Flow Direct
Description: There were errors during task validation. End Error DTExec:
The package execution returned DTSER_FAILURE (1). Started: 6:28:42 PM
Finished: 6:28:43 PM Elapsed: 0.844 seconds. The package execution
failed. The step failed.
ft120 是我命名的 MS Access 连接的名称。
TransferData_FT1_FTM 是包的名称。
【问题讨论】:
-
运行sql server agent的账号(在sql server配置管理器中查看)是否可以访问access数据库的位置?
-
好的,我会检查的。谢谢。
标签: sql ssis ms-access-2007 connection-string