I'm currently setting up a new server on which to run SSIS jobs in the future, the data source is an Oracle database.
This is my set up:
- SQL Server 2019
- Integration Services 2019
- Oracle Client 12c 64bit Version
For development I use Visual Studio 2019 and I develop and debug on the same machine where the jobs are to run.
In the project settings in Visual Studio the usage of a 64bit environment is set to True.
We have installed the Oracle client components in 64bit to use Oracle sources in a 64bit runtime environment. This works fine for an ODBC connection, but not at all for an OLE DB connection. Unfortunately, when setting up the OLE DB Connection Manager with MS Provider for Oracle, I am told that the Oracle client connection cannot be found and that they would have to be installed first. This works fine for an ODBC connection, but not at all for an OLE DB connection.Unfortunately, when setting up the OLE DB Connection Manager with MS Provider for Oracle, I am told that the Oracle client connection cannot be found and that they would have to be installed first. Unfortunately, when setting up the OLE DB Connection Manager with MS Provider for Oracle, I am told that the Oracle client connection cannot be found and that they would have to be installed first. When I then try to use the OracleClient Data Provider, I am told that only the 32bit version is installed, which is totally contradictory. The error is: The attempt to load Oracle client libraries has thrown a BadImageFormatException.
A look into the registry showed that the Oracle drivers are stored under system32, despite the 64bit installer.
A 32bit client was previously installed, but was uninstalled and the registry was cleaned up before the new installation.
I'm totally wondering why the installation leads to such a behavior and what I have to do to get an OLE DB connection to Oracle in 64bit mode.
I hope that someone can help me here.