Hi,
I have a SSIS that connects Oracle 11G as a source and dump data into SQL Server 2008 R2 (64 BIT).
I am using Oracle Provider for OleDEb to connect Oracle server from SSIS.
SSIS works fine from BIDS (when selecting Run64BitRunTime property of SSIS to FALSE) and I know because BIDS is 32 bit.
SSIS runs fine from SSMS.
Issue: When I schedule a SQL Agent job to run the SSIS, then it fails with below error-
MessageExecuted as user: SA. Microsoft (R) SQL Server Execute Package Utility Version 10.50.2500.0 for 64-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Started: 4:26:48 PM Error: 2012-12-12 16:26:48.87 Code: 0xC0202009 Source: SSIS_117_000_Test_F Connection manager "Source" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x800700C1. An OLE DB record is available. Source:"Microsoft OLE DB Service Components" Hresult: 0x800700C1 Description: "%1 is not a valid Win32 application.". End Error Error: 2012-12-12 16:26:48.87 Code: 0xC00291EC Source: PreSql procedure on Oracle - usp_Export_A Execute SQL Task Description: Failed to acquire connection "Source". Connection may not be configured correctly or you may not have the right permissions on this connection. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 4:26:48 PM Finished: 4:26:48 PM Elapsed: 0.468 seconds. The package execution failed. The step failed.
However it works fine when I select the Use 32 bit run time property of Job to TRUE.
I searched on Google and find various option to change the registry and path of SQL Server installation, but all options are very complicated in performing directly on PROD environment.
Please help me if you know any direct patch or solution to it, I need to run it from the SQL Agent JOB in 64 BIT mode.
Thanks,
Apne