来自MS ACCESS 2007数据库的SSIS 2012数据摘录 [英] SSIS 2012 data extract from MS ACCESS 2007 database

查看:94
本文介绍了来自MS ACCESS 2007数据库的SSIS 2012数据摘录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了SSIS包以从 MS access db中提取数据。它在我的本地计算机上正常运行但是 我在 SQL Server代理程序作业中的服务器上运行它时失败。 

请帮忙。感谢 advance。

注意事项:

1 。)Access数据库没有用户名和密码

2 。)我在项目级别禁用了 64

< span class =code-digit> 3
。)使用Microsoft Jet 4 0 OLEDB提供程序连接到Access db

4 。)我 set 延迟验证到True 包和两者的联系。

5 。)PackageProtectionLevel to DontSaveSensitive

它失败,错误如下:


消息
执行作为用户:NT Service\SQLSERVERAGENT。 Microsoft(R)SQL Server执行包实用程序版本 11 0 5058 0 32位版权所有(C)Microsoft Corporation。版权所有。开始: 6 28 42 PM错误:2016-01-21 18 28 43 34 代码:0xC0202009来源:TransferData_FT1_FTM连接管理器 ft120描述:SSIS错误代码DTS_E_OLEDBERROR。发生OLE DB错误。错误代码:0x80004005。 OLE DB记录 可用。来源: Microsoft JET数据库引擎 Hresult:0x80004005描述: 磁盘或网络错误。。结束错误错误:2016-01-21 18 28 43 34 代码:0xC020801C来源:数据流直接OLE DB源[ 33 ]说明:SSIS错误代码DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER。 AcquireConnection方法调用连接管理器 ft120失败,错误代码为0xC0202009。在 this 之前可能会发布错误消息,其中包含有关AcquireConnection方法调用失败原因的更多信息。结束错误错误:2016-01-21 18 28 43 34 代码:0xC0047017源:数据流直接SSIS.Pipeline描述:OLE DB源验证失败并返回错误代码0xC020801C。结束错误错误:2016-01-21 18 28 43 34 代码:0xC004700C来源:数据流直接SSIS.Pipeline描述:一个或多个组件验证失败。结束错误错误:2016-01-21 18 28 43 34 代码:0xC0024107来源:数据流直接描述:任务验证期间出错。结束错误DTExec:程序包执行返回DTSER_FAILURE( 1 )。开始: 6 28 42 PM完成: 6 28 43 PM经过: 0 844 秒。包执行失败。步骤失败了。


ft120 我命名的MS Access连接的名称。

TransferData_FT1_FTM teh package的名称。

解决方案

看起来像文件系统权限问题


我创建了一个代理,如 this  文章中它起作用了。 https: //   www.mssqltips.com/sqlservertip/2163/running-a-ssis-package-from-sql-服务器代理使用-A-代理帐户/  


I created and SSIS package to extract data from MS access db. It runs fine on my local machine but fails when I run it on the server in SQL server agent job. 

Please help. Thanks in advance.

Points to note:

1.) Access database has no username and password

2.) I disabled 64 bit on the project level

3.) Used Microsoft Jet 4.0 OLEDB Provider to connect to Access db

4.) I set "Delay Validation" to True for the package and the connection both.

5.)PackageProtectionLevel to DontSaveSensitive

It fails with error below:


Message
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 is the name of the MS Access connection I named.

TransferData_FT1_FTM is the name of teh package.

解决方案

looks like a file system permission issue


I created a proxy like this in the article and it worked. https://www.mssqltips.com/sqlservertip/2163/running-a-ssis-package-from-sql-server-agent-using-a-proxy-account/


这篇关于来自MS ACCESS 2007数据库的SSIS 2012数据摘录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆