SSIS Oracle Source - DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER

Deepak 121 Reputation points
2021-04-08T14:33:05.567+00:00

Hi All,

I'm using Visual Studio 2019 to get data from a Oracle Database and transfer it to a SQL 2019 database. I'm using Oracle connection (Connection Manager for Oracle Connections) for my source and an OLE DB connection for my SQL 2019 database. Test connection work fine for both and when I execute the package in VS2019, it works fine.

When I deploy it to SQL2019 and run it from a agent job, I get a DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER error. I have seen some forums and done following changes,

In VS2019 Run64BitRuntime to false
In agent job, checked it to run in 32bit mode
Installed MicrosoftSSISOracleConnector on the server containing SQL2019

Tired by setting DTS property to EncryptSensitiveWithUserKey and with password too.
Also tried DelayValidation with True and with False.

But no joy so far. Has anyone troubleshooted this in past and can shed some light on this please?

Deepak

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,702 questions
0 comments No comments
{count} votes

Accepted answer
  1. Yitzhak Khabinsky 26,586 Reputation points
    2021-04-08T15:21:42.247+00:00

    Hi @Deepak ,

    The Microsoft Oracle Microsoft Connector for Oracle V1.0 is not installed by default with the SSIS run-time bits. It needs to be manually downloaded and installed separately on its own on a server.

    Additional info: Microsoft Connector for Oracle

    UPDATE
    It is better to use an EZ connect format for a connection.
    You need to put the EZConnect format inside the TNS service name.
    It is documented here: configuring-the-oracle-connection-manager

    As end result the entire connection string will have the following four attributes:
    SERVER=//host:port/service_name;
    USERNAME=username;
    PASSWORD=password;
    WINAUTH=0;


1 additional answer

Sort by: Most helpful
  1. Monalv-MSFT 5,926 Reputation points
    2021-04-09T08:25:54.31+00:00

    Hi @Deepak ,

    May I know if you download the oracle connector for both 32bit and 64bit?
    86089-oracleconnectorboth32bit-64bit.png

    Please refer to Microsoft Connector for Oracle.

    Best regards,
    Mona

    ----------

    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.