Microsoft PowerBI: Failed to load the security library: krb5_64.dll - kerberos

I'm trying to connect from PowerBi to Impala with Kerberos using ODBC.
I followed by this https://plenium.wordpress.com/2019/08/02/connect-microsoft-power-bi-desktop-to-cloudera-impala-with-kerberos/
I can create ODBC connection with valid credentials and execute query form other tools (for example ODBC Query Tool), but from PowerBi I have this error with loading Kerberos dll:
Details: "ODBC: ERROR [HY000] [Cloudera][Support] (50366) Failed to load the security library: krb5_64.dll
ERROR [HY000] [Cloudera][Support] (50366) Failed to load the security library: krb5_64.dll"
Have you any suggestions about how to resolve it?
I have:
Windows 10 Pro version 1903
MIT Kerberos for Windows 4.1
Cloudera ODBC Driver for Impala 2.6.8 (C6 Compatible)
Microsoft Power BI Desktop 2.78.5740.721 64-bit

The solution is: don't install PowerBI as windows app, instead directly download
PBIDesktopSetup_x64.exe and install it. Now its destination is C:\ProgramFiles\"Microsoft Power BI Desktop" not C:\ProgramFiles\WindowsApps\ ... and it works.

Related

DB2 Connect licensing problem (SQLSTATE=42968)

I require DB2 Connect installed on my laptop to allow an application to read a DB2 database on a z/OS box. Due to issues with slow VPN I was unable to download a licensed copy of it from my firms server, so I downloaded a trial version (v9.7) from IBM Website. I am now in position where I can copy the licensed copy over the company network and install that (v 11.1).
I have uninstalled v9.7 and installed v11.1 but when attempting to reference the DB I get the error:
Logon Failure:42968: -1598: [IBM][CLI Driver]SQL1598N An attempt to
connect to the datasbase server failed because of a licensing problem.
SQLSTATE=42968.
I suspect that the registry is ‘polluted’ with v9.7 stuff including the licence expired flag.
Is there something I can remove from the Registry that will resolve this and allow v11.1 to work ?

Windows 10 - DB2 / ODBC / .NET connection to AS400 / V4R3M0

I am looking for a way to establish a database connection to a AS400 Release V4R3M0 via ODBC or even better with .NET. Under Windows XP I can access the AS400 with the ODBC interface and the driver from the IBM Client Access software. But my release is not working under Windows 10. I have downloaded the IBM Data Server Client Packages - Version 11.5. But I could not establish a connection with it.
I tried it with ODBC Datasource configuration and with the commandline
db2cli execsql -connstring "DATABASE=databasename;HOSTNAME=as400;PORT=8471;UID=user;PWD=password;"
Thank you for your help.
First, you'll need a rather old version of the IBM ODBC driver. Newer versions yield a password error when connecting to very old systems. I'm using the driver from iseriesaccess for linux 7.1.0-2. I guess the same applies to Windows.
Please realise that V4R3 is from 1998 and it will get increasingly hard to find ways to get functioning connections to it from modern Windows systems.

Db2 errors post installing through InfoSphere Federation Server

I am planning to do SQL replication through InfoSphere Federation Server and installed the latest version from IBM website, while running the executable iisetup.exe, federation tool create the db2 instances and ask for db2user password and port as well, I have given all the required information and at the end installation and JDBC wrapper was successfully completed. after that I have open the db2 command prompt through administration. I am getting issue in running all the command eg
C:\db2\BIN>db2start
SQL1390C The environment variable DB2INSTANCE is not defined or is invalid.
C:\db2\BIN>db2 GET DATABASE MANAGER CONFIGURATION
DB21018E A system error occurred. The command line processor could not continue processing.

Tableau - SQL Server Connection

I have installed Tableau Desktop 9.3 on my Machine. When I try connecting to Microsoft SQL Server as per this tutorial, I don't see any to a server or to a file option.
It just shows as below
How can I connect to server or file using tableau?
You will see a option called To a Server option below where you will find sql server connection.

unable to create a database connection using Aqua Data Studio ETL tool

When try to connect to DB2 Z/OS, the following error message is displayed,
[jcc][t4][10509][13454][3.67.28] Connection to the data server failed. The IBM Data Server for JDBC and SQLJ license was invalid or was not activated for the DB2 for z/OS subsystem. If you are connecting directly to the data server and using DB2 Connect Unlimited Edition for System z, perform the activation step by running the activation program in the license activation kit. If you are using any other edition of DB2 Connect, obtain the license file, db2jcc_license_cisuz.jar, from the license activation kit, and follow the installation directions to include the license file in the class path. ERRORCODE=-4230, SQLSTATE=42968"
For a ADS DB2 Z/OS connection,you do need the DB2 z/OS JDBC driver license file. You can fix the problem below with these steps ...
Close ADStudio
Download this driver file
Unzip the contents into the /lib/drivers> folder
Start ADStudio and then connect to DB2 z/OS.