2014-03-26 68 views
1

我一直在争取这一段时间确定,尝试了很多东西,我终于不堪重负。SQL Server代理2012不执行SSIS 2012包,连接到Oracle,但现在运行从SSIS

我有很多SSIS包在SQL Server 2008中完美的工作,汇集了来自SQL,MySQL和Oracle数据。然后我决定升级到SQL 2012,这些软件包将无法运行。我使用VS2010再次创建了它们,并且它们从SSIS运行良好,但连接到Oracle的不起作用。几个错误之后,我得到这个:

Executed as user: Domain\UserName. Microsoft (R) SQL Server Execute Package Utility Version 11.0.2100.60 for 64-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 12:00:00 PM Error: 2014-03-01 12:00:04.25 Code: 0xC0208449 Source: SalesBacklog ADO NET Source [2] Description: ADO NET Source has failed to acquire the connection {01F532A5-4542-4833-9103-5FCAEC4EA4A2} with the following error message: "Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.". End Error Error: 2014-03-01 12:00:04.25 Code: 0xC0047017 Source: SalesBacklog SSIS.Pipeline Description: ADO NET Source failed validation and returned error code 0xC0208449. End Error Error: 2014-03-01 12:00:04.25 Code: 0xC004700C Source: SalesBacklog SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2014-03-01 12:00:04.25 Code: 0xC0024107 Source: SalesBacklog Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 12:00:00 PM Finished: 12:00:04 PM Elapsed: 3.297 seconds. The package execution failed. The step failed.

我的新服务器的规格是:

  • 平台:NT64
  • 系统:至强L5520 2.27GHz(16 PROC),66.1GB RAM
  • 操作系统:Windows Server 2012
  • DB:SQL Server 2012中 - 11.0.2100

我以不同顺序安装,卸载了Oracle 32和64客户端。但没有运气。

最近我坚信,我的问题可能与SQL代理来运行包,而不是一个问题与Oracle客户端的权限。我尝试过所有类型的身份验证(有时会很困惑),并且我得到了另一个广泛的错误。

是对如何任何想法,有人在那里我应该做呢?我从头开始,我会尝试每一步,一遍又一遍。如果我找到问题,我会通知你。

谢谢!

+0

不要傻,但是当你遇到错误时,你是否在32位运行软件包? – billinkc

+0

这可能听起来很愚蠢,但有很多程序和服务正在运行,很难说。 OS是64位,SQL服务器是64位,我在机器上安装了32位和64位Oracle客户端版本。现在,在我的辩护中,几个月来一直如此,如果我手动运行它,它就会工作。我会尝试从Oracle下载最新的64位版本,我会一直保持发布。感谢您的回应! – Gus

+1

创建作业时,在作业步骤的高级选项卡中,有一个用于32位模式的复选框。是否检查过? – billinkc

回答

1

经过一番努力,@billinkc告诉我所有我需要知道:复选框在32位模式

  1. 打开SQL代理作业
  2. 在“步骤”一节中,选择执行步骤连接到Oracle
  3. 在“执行选项”选项卡SSIS包,选中复选框“使用32位运行时”

不过这一次我就确定deinstall all Oracle Clients,只是安装32位Oracle客户端。