gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-04 17:55:46 26 4
gpt4 key购买 nike

我已将 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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com