Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Shiva2210
New Member

SQL initialization error

Shiva2210_0-1751000269383.png

Please help in addressing the above error I get when I apply changes to the change in server

 

3 REPLIES 3
v-agajavelly
Community Support
Community Support

Hi @Shiva2210 

Just checking in to see if you had a chance to try the steps shared earlier regarding the DB2 connection issue in Power BI.

  • Installed the IBM Data Server Client (v11.5.40, 64-bit)?
  • Restarted your system post-installation?
  • Verified that your Windows/AzureAD user has appropriate access to the DB2 server?

If you’re still running into issues, feel free to share the latest error message or logs, happy to help troubleshoot further. If the above  response helps, consider marking it as “Accept as solution” and giving a “kudos” to assist other community members.

Thanks,
Akhil.

Nasif_Azam
Solution Sage
Solution Sage

Hey @Shiva2210 ,

The error typically indicates an issue with the DB2 client environment setup. Based on the tokens shown, it seems the DB2 .NET provider might not be properly installed or configured for the version of DB2 (11.5.40) being used. Few things to check:

 

  1. DB2 Client Installation: Ensure the DB2 .NET Data Provider (v11.5.40) is correctly installed on the machine where Power BI or the gateway is running.

  2. Environment Variables: Verify that the necessary DB2 environment variables (like DB2PATH, PATH) are correctly set.

  3. 32-bit vs 64-bit: Confirm that the architecture (32-bit or 64-bit) of Power BI matches the DB2 client installed.

  4. Gateway Setup: If you're using an on-premises gateway, make sure the same DB2 provider is installed and configured on the gateway machine.

 

For Detailed Information:

IBM DB2 .NET Data Provider Documentation

DB2 Initialization Error SQL1159 - IBM Support

Installing IBM Data Server Driver Package

 

 

If you found this solution helpful, please consider accepting it and giving it a kudos (Like) it’s greatly appreciated and helps others find the solution more easily.


Best Regards,
Nasif Azam

v-agajavelly
Community Support
Community Support

Hi @Shiva2210 

Power BI is trying to connect to a DB2 database, but the DB2 .NET Data Provider failed to start because it’s not properly installed or set up. To fix this try to Install the IBM Data Server Client (Full version), Make sure it's version 11.5.40 (same as in the error). Use the 64-bit installer (since Power BI is 64-bit).

  1. Restart your system after the installation.
  2. Try loading the data again in Power BI.

if it still fails, Make sure your Windows user like AzureAD has permission to access the DB2 server.
________________________________________________________________________________________________________________________
If this response helps, consider marking it as “Accept as solution” and giving a “kudos” to assist other community members.

Regards,
Akhil.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.