sql-server - 尝试使用 Oracle Connection Attunity 运行 SSIS 包时出现问题
问题描述
我有以下问题:
我有一个使用 Attunity 连接管理器连接到 oracle DB 的 SSIS 包。
它确实连接到我的本地电脑(连接到远程 oracle 数据库服务器)并提取和所有,似乎工作。
当我将它加载到 SQL Server 以作为作业运行时,问题就出现了。我已经运行了其他作业,因此设置正确,设置为以 32 位运行时运行,作为文件系统类型加载。
但是当我尝试执行作业时,会出现以下错误:
作为用户执行:用户名。适用于 32 位的 Microsoft (R) SQL Server 执行包实用程序版本 12.0.2548.0 版权所有 (C) Microsoft Corporation。版权所有。开始时间:晚上 9:39:28 错误:2019-09-27 21:39:28.90 代码:0xC0010018 来源:包
描述:加载值错误“
现在,由于它在本地运行,我相信它可能与我部署包的 SQL 服务器中的某些内容有关,因此我将提供一些有关设置的信息和一些注释:
- 当使用来自 SSIS 的本机 OLE DB 源运行时,它可以工作(但我想使用 attunity,因为我阅读的速度更快)
- 服务器版本为:Microsoft SQL Server 2014 - Windows NT 6.3 上的 12.0.2548.0 (X64) - Microsoft SQL Server Developer(64 位)
- 我尝试从这里安装 Attunity 组件:https ://www.microsoft.com/en-us/download/details.aspx?id=55179但是在我的本地计算机和服务器中我都收到一条错误消息确实发现安装了 SQL Server,但是在下面的屏幕截图之后,安装似乎成功完成:
--------------------------- Microsoft Connector for Oracle by Attunity --------------------------- An error occurred during registration of: "C:\Program Files\Attunity\Microsoft Connector for Oracle\50\ENU\AttunitySSISOraAdapters.dll" --------------------------- An error occurred during registration of: "C:\Program Files\Attunity\Microsoft Connector for Oracle\50\ENU\AttunitySSISOraConnections.dll" --------------------------- An error occurred during registration of: "C:\Program Files\Attunity\Microsoft Connector for Oracle\50\bin32\ENU\AttunitySSISOraAdapters.dll" --------------------------- An error occurred during registration of: "C:\Program Files\Attunity\Microsoft Connector for Oracle\50\bin32\ENU\AttunitySSISOraConnections.dll" ---------------------------
之后
- 我正在运行 Visual Studio 2017 Professional 15.9.16,其中包括以下内容:
SQL Server 数据工具 15.1.61906.03120 Microsoft SQL Server 数据工具
SQL Server 集成服务 Microsoft SQL Server 集成服务设计器版本 14.0.3002.113
适用于 Visual Studio 的 Oracle 开发人员工具 12.2.0.1.0 适用于 Visual Studio 的 Oracle 开发人员工具 版权所有 (c) 2005, 2017
如果我缺少帮助查明问题的信息,请告诉我。我想我可能缺少一个组件,但我真的不知道是什么。
更新:我将包属性中的 TargetServerVersion 从 SQL Server 2017 更改为 2014(我已安装的版本),现在出现此错误:
Error: 2019-09-30 17:53:13.20 Code: 0x000002C0 Source: Package Connection manager "Oracle Connector 1" Description: OCI error encountered. ORA-12154: TNS:could not resolve the connect identifier specified End Error
Error: 2019-09-30 17:53:13.20 Code: 0x0000020F Source: Data Flow Task 1 1 Oracle Source [343] Description: The AcquireConnection method call to the connection manager Oracle Connector 1 failed with error code 0x80004005. There may be error messages posted before this with more information on why the AcquireConnection method call failed. End Error
Error: 2019-09-30 17:53:13.20 Code: 0xC0047017 Source: Data Flow Task 1 1 SSIS.Pipeline Description: Oracle Source failed validation and returned error code 0x80004005. End Error
Error: 2019-09-30 17:53:13.20 Code: 0xC004700C Source: Data Flow Task 1 1 SSIS.Pipeline Description: One or more component failed validation. End Error
Error: 2019-09-30 17:53:13.20 Code: 0xC0024107 Source: Data Flow Task 1 1 Description: There were errors during task validation. End Error
DTExec: The package execution returned DTSER_FAILURE (1). Started: 5:52:41 PM Finished: 5:53:13 PM Elapsed: 32.125 seconds. The package execution failed. The step failed.
更新 2
我已经卸载了我所有的东西,只安装了 Attunity Connection Manager 的 V3 版本,仍然收到上面的错误。在这一点上,我不知道会发生什么。当我从我的 Visual Studio(2017 年,所有连接管理器都指向服务器)运行它时它可以工作,但是当我在 SQL Server 代理上安排它时,它会给出显示的错误,此外,当我使用 OLE DB 时它运行良好经理,尝试使用 Oracle 源时出现问题(来自 Attunity)
我也在使用连接管理器,其格式设置为:host:port/ServiceName 我想我可能在服务器上设置了一些错误的东西?根据 Oracle 设置?我有以下内容:
TNS_ADMIN:C:\Oracle\product\product\11.2.0\client_64bit\network\admin
我没有更多的设置,我要更多的东西吗?
解决方案
该错误是在尝试以 32 位模式运行的包上引起的。我将包设置更改为 64 位,并将 SQL 代理设置更改为以 64 位运行,然后它开始运行,现在可以正常运行了 :)
推荐阅读
- python - 在测试期间用另一个替换导入模块中的顶级方法
- vhdl - 模拟 Mealy 有限状态机序列检测器的 VHDL 错误
- visual-c++ - C++ 读取内存地址
- python-3.x - 结合两个长度不等的熊猫数据框/表
- python - 将数据框转换为 json?
- r - 测试给定的数字是否包含在数据框中定义的一组间隔中
- php - 如何使用 php mysqli 查询并分配多个值
- java - spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults 是做什么用的?
- c++ - 是否有任何表现良好的方法来表示数组中的 NA?
- grafana - Grafana 插件签名始终标记为“已修改”并且永远无效。使用插件阻止