Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I am trying to connect a SQL server using power bi but getting the following error. Surprisingly I am able to access it using Excel or SQL Server Management Studio installed in my PC. I have also enabled TCP/IP protocol using SQL Server Configuration Manager. Can you suggest how to rectify this,
Solved! Go to Solution.
Hi @avinrosh,
In your scenario, does the SSMS installed on the same machine as Power BI desktop runs?
If not, the problem may could be for either Named Pipes connections or TCP/IP connections. You can refer to this blog to solve your problem.
https://www.mssqltips.com/sqlservertip/2340/resolving-could-not-open-a-connection-to-sql-server-erro...
Regards,
Daniel He
Hi @avinrosh,
could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered?
Regards,
Daniel He
Hi @avinrosh,
In your scenario, does the SSMS installed on the same machine as Power BI desktop runs?
If not, the problem may could be for either Named Pipes connections or TCP/IP connections. You can refer to this blog to solve your problem.
https://www.mssqltips.com/sqlservertip/2340/resolving-could-not-open-a-connection-to-sql-server-erro...
Regards,
Daniel He
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 56 | |
| 43 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 123 | |
| 108 | |
| 44 | |
| 32 | |
| 24 |