Forum Discussion
Issue connecting Power BI Desktop to IBM DB2 database
I am not able to connect my Power BI Desktop to a IBM DB2 database. If I only add the server name and database I get an "Microsoft Db2 Client: No connection could be made because the target machine actively refused it 155.209.240.10:50000 SQLSTATE=08S01 SQLCODE=-1037". I was told to use port 8471, and adding server:port I get another error. I have tried using both IBM and Microsoft Driver. On next page I have added "Database" user that works with ODBC/WinSQL as we do not have the same Using IBM Driver I get "DB2: We were unable to find a database provider with invariant name 'IBM.Data.DB2'" and I tried to install the recommended "Data Server Driver Package (DS Driver)". Is there any guide, or anyone that have had issues that can share what they did to get it to work? The server is hosted at a hosting partner. I can connect using ODBC but then we need to install Client Access to all users, and it is working really slow.
Make sure the instance is running on the server. TCP /IP services are started on remote DB2 server. Port number is correct and it's open on server.
I just tested with server name and database name. It can connect the DB2 database properly.
Regards,
Simon Hou
- robarivas9 years ago
Post Patron
Hello aogland, v-sihou-msft, and Greg_Deckler
I still cannot get the connection to work. Anyone have any idea what I might be doing wrong?? I've installed the IBM Data Server Driver Package software and I've specified the correct server and port and database name. What else am I supposed to do?
I keep getting the following error using the IBM driver:
We were unable to find a database provider with invariant name 'IBM.Data.DB2'
Using the MIcrosoft driver I get:
The package corresponding to an SQL statement execution request was not found. SQLSTATE=51002 SQLCODE=-805
- aogland9 years agoNew Member
I still have not got it to work.
- dmontella9 years agoNew Member
Same exacct issue when connecting to DB2 from Power BI:
Details: "IBM DB2: We were unable to find a database provider with invariant name 'IBM.Data.DB2'.
This error could've been the result of provider-specific client software being required, but missing on this computer. To download client software for this provider, visit the following site and choose the 64-bit (x64) version of, at minimum, 'IBM Data Server Driver Package (DS Driver)': https://go.microsoft.com/fwlink/p/?LinkID=274911"
- Pablo_dediosIBM4 years agoNew Member
Hola buen dia Robarivas, encontre los siguiente......
cuando instalas el driver de IBM se tiene el problema de que el "InvariantName" que se le otorga al controlador toma la version: ejemploaqui hay dos opciones, por el regedit cambies el nombre del inveriantname, solo que a futuro podria ser un problema....
o que Microsoft actualice por algun parche esta conexion y busque el nombre completo que se le esta otorgando al conector...
- afsantos685 years agoNew Member
database name is the same as a name of one library? if not, how can i know the database name? thanks