Hello,
I have an ETL SSIS package that works for SQL Sever 2012/Oracle 12c and uses the Attunity connector. However, I am trying to migrate SSIS packages to use SQL Server 2019 and Oracle 12c and the new Microsoft Connector for Oracle V1.0.
Here's my new environment - I have SQL Server 2019 (Amazon EC2) and Visual Studio 2019 and I am trying to use the Microsoft Connector for Oracle V1.0 as a connection manager to connect to my Oracle 19c (Amazon RDS). It works initially when I build a new connection manager and hardcode the TNS service name, username, and password. I use EZConnect format for the TNS service name [//]host[:port][/service_name].
However, when I add a package configuration to pull the connection string from my SQL Server configuration table, I run into problems with the Oracle connection. When I test the Oracle connection, I get "There was an error trying to establish an Oracle connection with the database server." When I run the package, it fails with "[Connection manager "OracleRDS"] Error: There was an error trying to establish an Open Database Connectivity (ODBC) connection with the database server." I have a SQL Server connection and that one is okay. Also, I viewed the SSIS package's XML code and I noticed that the Oracle password was being stored and it was in all lowercase even though the actual password is mixed case. So, I do a test and I change the actual Oracle password in the database to be all lowercase to match the XML code and then the SSIS Oracle connection manager works!
- How do I get my mixed case password to work with package configuration?
- Is my Oracle connection string correct for my configuration table? I have tried with "SERVER" and "Data Source" and both.
a. SERVER=//xxx.yyyy.zzz.rds.amazonaws.com:1521/ServiceName;USERNAME=user;WINAUTH=0;PASSWORD=MyPassword;
b. Data Source=//xxx.yyyy.zzz.rds.amazonaws.com:1521/ServiceName;User ID=user;password=MyPassword;
c. SERVER=//xxx.yyyy.zzz.rds.amazonaws.com:1521/ServiceName;USERNAME=user;WINAUTH=0;PASSWORD=MyPassword;Data Source=//xxx.yyyy.zzz.rds.amazonaws.com:1521/ServiceName;User ID=user;password=MyPassword;
My setup:
Microsoft SQL Server 2019 (RTM-CU9) (KB5000642) - 15.0.4102.2 (X64) Developer Edition (64-bit)
Visual Studio Professional 2019 (Version 16.9.1)
Oracle 12c (AWS RDS instance)
Microsoft Connector for Oracle V1.0 32-bit (version 2019.150.2000.110)
SQL Server Integration Services Projects extension version 3.12.1 (downloaded from VS2019 marketplace)
I changed the SSIS project properties TargetServerVersion = SQL Server 2019. DelayValidation = True for the SSIS package and the connection managers.
Thanks so much in advance!