0

我设计了一个 SSIS 包,它使用 SSIS 2014 - Microsoft OLEDB Provider for Oracle 从 Oracle 数据库中提取数据。我可以通过手动执行 SSIS 运行包,但是在将其部署到 SQL Server 代理作业时出现错误。我不明白为什么它只在 SQL 代理作业中部署时失败,但在通过存储包手动执行时却完美运行。

已在以下配置中应用

  • 创建代理帐户
  • 在“执行选项”选项卡下,选中“使用 32 位运行时”复选框
  • 安装了 Oracle 32 客户端 (ODTwithODAC122011)

Message Executed as user: DOMAIN\administrator. Microsoft (R) SQL Server Execute Package Utility Version 12.0.6024.0 for 32-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 11:26:07 AM Error: 2021-03-09 11:26:44.14 Code: 0xC0202009 Source: SITPACKAGES Connection manager "ORACLE.SOURCE" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "OraOLEDB" Hresult: 0x80004005 Description: "ORA-12154: TNS:could not resolve the connect identifier specified". End Error Error: 2021-03-09 11:26:44.14 Code: 0xC020801C Source: Project Interface Source [274] Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "ORACLE.SOURCE" 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: 2021-03-09 11:26:44.14 Code: 0xC0047017 Source: Project Interface SSIS.Pipeline Description: Source failed validation and returned error code 0xC020801C. End Error Error: 2021-03-09 11:26:44.14 Code: 0xC004700C Source: Project Interface SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2021-03-09 11:26:44.14 Code: 0xC0024107 Source: Project Interface Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 11:26:07 AM Finished: 11:26:44 AM Elapsed: 36.984 seconds. The package execution failed. The step failed.

有没有人知道我应该怎么做?谢谢你!

4

0 回答 0