Can I configure SSMA to use DB2 server_encrypt authentication? - sql-server

I am trying to use Microsoft SQL Server Migration Assistant (SSMA) for DB2 (version 7.5.0) to migrate a DB2 11.1 database to MS SQL 2014. The DB2 connection used to work, but fails after the administrator changed the DB2 authentication method from the default of “server” to “server_encrypt” to meet an audit requirement. Now when I connect to the the DB2 server, I am getting the following error:
Connection to DB2 failed.
The authentication method used is not supported by the remote system. Contact your system administrator.
Is it possible to configure SSMA to use the DB2 server_encrypt authentication method? If so, how?
Thank you in advance for your help.

I was able to connect using the Connection String mode and the following connection string:
Provider=DB2OLEDB;User ID=useName;Password=password;Initial Catalog=dbName;Network Transport Library=TCPIP;Host CCSID=37;PC Code Page=1252;Network Address=serverName;Network Port=portNbr;Default Schema=schemaName;Units of Work=RUW;DBMS Platform=DB2/MVS;Use Early Metadata=False;Defer Prepare=False;DateTime As Char=False;Rowset Cache Size=0;Binary CodePage=0;Datetime As Date=False;AutoCommit=True;Authentication=Server_Encrypt_UsrPwd;Decimal As Numeric=False;Allow Null Chars=False;LoadBalancing=False;Persist Security Info=False;Cache Authentication=False;Connection Pooling=False;Literal Replacement=False;

Related

About ODBC connection from access db to Azure SQL

Hi,
I am trying to connect Azure sql database from Access database . However its giving me the following error.
When I try with the same credential from SSMS its connects perfect however, can't connect through ODBC.
Can anyone had the same experience or anyone has any input to resolve this issue?
Thanks in advance!
You need to install ODBC driver 17 for SQL Server. You need to restart computer after installing the driver or the connection won't work. Create a Machine ODBC DSN using this driver.
Provide now the Azure SQL server name:
Use SQL authentication.
On the next screen specify the database name (catalog).
Make sure you set Encrypt=True

How do I resolve encryption error connecting to SQL Server from Oracle SQL Developer

My objective is to use the migration tool in SQL Developer to migrate 2 SQL Server databases to Oracle. I am attempting to connect to a SQL Server database at a remote location using Oracle SQL Developer 4.0.
I have installed jtds.1.3.0.jar per instructions, and get the SQL Server and Sybase tabs in the connection properties window.
I have entered the user, pw, hostname, port, and database name. When I try to Retrieve Database, or connect, I get the error message:
Status : Failure -Test failed: I/O Error: DB server closed connection.
The SQL Server DBA tells me her error logs contain the following error message:
Encryption is required to connect to this server but the client library does not support encryption; the connection has been closed. Please upgrade your client library. [CLIENT: (my computer's IP address)] Error: 17835, Severity: 20, State: 1.
When I look at SQL Server documentation about this error message, it talks about certificates and SQL Server Connection Manager. Some relevant information to show that I've covered the basics:
Using the same connection parameters, I am able to connect to the SQL Server database using Toad for SQL Server.
Using the same connection parameters, a DBA set up an Oracle Transparent Gateway, and I can connect to the SQL Server database using the gateway and a database link. (As far as I know, neither of these methods required a certificate to connect.)
Both of these use ODBC; SQL Developer uses jdbc with TCP/IP.
The DBA assures me TCP/IP connection is turned on for the SQL Server databases.
I have gone into the XML file where SQL Developer stores the connection string. It has the form jdbc:jtds:sqlserver://sql-xxx-xxx.mw.nos.xxx.com:1433/my_db, which looks correct. I have tweaked it by adding the instance name, but no difference. The database has a default instance name, anyway, so it shouldn't be necessary.
A co-worker has been able to connect to a local SQL Server database on the same machine where SQL Developer was running (both on his laptop).
As a workaround, I am also pursuing the possibility of installing SQL Server on a local workstation, and copying the databases there for processing, but I don't know if I can get approval. If you know another tool for migrating from SQL Server to Oracle, please also let me know.
Thanks in advance.

Oracle Wallet Integration in SSIS Oracle Provider OLEDB Connector

I've successfully configured oracle wallet in my machine in windows 7. I also checked by executing the below command
sqlplus /#myoracleDB
and it gets connected to the DB successfully.
I'm trying to execute the SSIS package(DTSX) version 2012 in my machine. In the Data Flow task, I'm using Oracle Provider for OLEDB Connector. I wanted to connect the myoracleDB Database through oracle wallet in the OLEDB connector. I used the below configuration,
Provider=OraOLEDB.Oracle;Data Source=MyOracleDB;OSAuthent=1;
But the Connection is failing with invalid username/password.
Please advise how to resolve this problem.
When I was using "externally identified" logins setup on the Oracle server (basically windows trusted authentication), I used
/ as login
blank password
Inside my SSIS packages and it worked.
I don't know if this is the same as Oracle wallet - I don't think so, but try it.
Using OSAuthent=1; you are trying to establish a Trusted Connection using the current OS authentication, then make sure that you have authenticated the current user
If you have the oracle login credentials try connecting using the following Connectionstring
Provider=OraOLEDB.Oracle;Data Source=MyOracleDB;User Id=myUsername;Password=myPassword;
Also you can use Microsoft OLE DB Provider for Oracle
Provider=MSDAORA;Data Source=MyOracleDB;Integrated Security = SSPI;
References
Oracle provider for OLEDB connectionstrings
Oracle connectionstrings
Authenticating Database Users with Windows

How to deploy ETL package to a remote SQL Server with SQL authentication?

I'm new to ETL so I have developed a simple ETL package, and now I'm going to deploy it to a remote server.
I connect to server using SQL Server authentication, so I go to solution explorer and open deployment wizard, in there in destination tab entered my server ip and then it shows me a error message saying
Login failed for user 'MYDOMAIN\MYUSERNAME'. (.Net SqlClient Data Provider)
As I said earlier I want to use SQL Server authentication to connect to my server, where can I change this settings in SSIS ?
Take a look at the link below. I think it should solve your problem.
On the Specify Target SQL Server page, specify the instance of SQL Server to install the packages to and select an authentication mode. If you select SQL Server Authentication, you must provide a user name and a password.
https://technet.microsoft.com/en-us/library/ms141693(v=sql.110).aspx

Filemaker Pro MS SQL Server ODBC Driver Connection Failure

I am trying to connect to one of my MS SQL Server databases with the Filemaker Pro ODBC driver. I am using the database service. However, whenever I try to connect to my database it sends either an error that it can't connect to the datasource or an error that the username or password is incorrect. I know the credentials I am using are correct because I can connect to my Jetbrains IDE and to the mssql library in node.js with the same credentials. Does anyone know what the problem could be? My database is running on Azure. Do any setting need to be changed in the driver based on using Azure that could cause the problem?

Resources