oracle - 对连接管理器 Oracle Connector 的 AcquireConnection 方法调用失败

标签 oracle ssis

我已将 SSIS 到 Oracle 的连接管理器设置为:

enter image description here

在 Oracle 源代码中:

enter image description here

我可以成功预览数据:
enter image description here

但是,在尝试执行包时,错误显示为:

SSIS package "C:\Users\kakah\Documents\Visual Studio 2015\Projects\TestExcel\TestExcel\INV_MTL_SYSTEM_ITEMS_TL.dtsx" starting.
Information: 0x4004300A at Data Flow Task, SSIS.Pipeline: Validation phase is beginning.
Warning: 0x802092A7 at Data Flow Task, OLE DB Destination [17]: Truncation may occur due to inserting data from data flow column "DESCRIPTION" with a length of 600 to database column "DESCRIPTION" with a length of 150.
Warning: 0x802092A7 at Data Flow Task, OLE DB Destination [17]: Truncation may occur due to inserting data from data flow column "LONG_DESCRIPTION" with a length of 2000 to database column "LONG_DESCRIPTION" with a length of 150.
Error: 0x2C0 at INV_MTL_SYSTEM_ITEMS_TL: OCI error encountered. ORA-12154: TNS:could not resolve the connect identifier specified
Error: 0x20F at Data Flow Task, Oracle Source [62]: The AcquireConnection method call to the connection manager Oracle Connector failed with error code 0x80004005.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.
Error: 0xC0047017 at Data Flow Task, SSIS.Pipeline: Oracle Source failed validation and returned error code 0x80004005.
Error: 0xC004700C at Data Flow Task, SSIS.Pipeline: One or more component failed validation.
Error: 0xC0024107 at Data Flow Task: There were errors during task validation.
SSIS package "C:\Users\kakah\Documents\Visual Studio 2015\Projects\TestExcel\TestExcel\INV_MTL_SYSTEM_ITEMS_TL.dtsx" finished: Failure.

我可能会错过什么?如何解决这个问题?

最佳答案

如果您右键单击该项目并转到属性--> 配置属性--> 调试,您是否确定 Run64BitRuntime 为 False?有时这会切换到 True 并会破坏它。

关于oracle - 对连接管理器 Oracle Connector 的 AcquireConnection 方法调用失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40639537/

相关文章:

oracle - ORA-00900: 无效的 SQL 语句错误

ssis - 未能锁定变量。找不到变量

sql - 使用 SSIS 从 CSV 填充到表的日期列表现不同

c# - 将自定义对象分配给 SSIS 中的对象类型变量

sql-server - SSIS包编辑

带 COUNT() 的 SQL 嵌套 Select 语句

sql - Group By 子句中的别名 - 标识符无效

在 where 子句中使用 case 语句时 Oracle 存储过程不使用索引

ssis - 在 SSIS 灵活文件目标中创建动态文件夹路径

oracle - 通过脚本动态重命名索引和约束