【发布时间】:2020-01-28 04:17:08
【问题描述】:
我遇到以下问题:
我有一个使用 Attunity 连接管理器连接到 oracle 数据库的 SSIS 包。
它确实连接到我的本地电脑(连接到远程 oracle 数据库服务器)并提取和所有,似乎工作。
当我将它加载到 SQL Server 以作为作业运行时,问题就出现了。 我已经运行了其他作业,因此设置正确,设置为以 32 位运行时运行,作为文件系统类型加载。
但是当我尝试执行作业时,它会出现以下错误:
作为用户执行:用户名。 Microsoft (R) SQL Server 执行包 适用于 32 位的实用程序版本 12.0.2548.0 版权所有 (C) Microsoft 公司。版权所有。开始时间:晚上 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
Oracle Developer Tools for Visual Studio 12.2.0.1.0 Oracle Developer Visual Studio 工具 版权所有 (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
我没有更多的设置,我要更多的东西吗?
【问题讨论】:
标签: sql-server oracle ssis etl attunity