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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I am new to Power BI Desktop, and I've been wanting to connect to our company's SQL Server, but whenever I try to, this message shows up:
In case the image doesn't show, the error says: "Microsoft SQL: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: Named Pipes Provider, error: 0 - The pipe has been ended.)"
I have searched the net for a solution to the problem, and have tried connecting with the encryption off, but a different error pops up, saying "Microsoft SQL: Invalid object name 'sys.databases'."
Thank you for your help!
I was able to resolve the issue by entering the port number along with the server name eg
Server: LINWDP3A,13164
I was getting the same error.. but was able to resolve it.....you will need to add the port number along with the server name example,
Server: LINWDP3A,13164
Hello again,
It seems I just needed to fill in even the optional requirements for connecting to the SQL Server.
After specifying a database and filling in an SQL query for when connecting to the server, it pulled the data from the query.
As I was under the impression I can access the whole server if I connect to it, I did not try this beforehand.
Again, thank you. I will try to learn as much as possible regarding Power BI.
Hi,
Thank you for your response. I will be trying your suggestions and post if they solved my problem
Thanks!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 37 | |
| 35 | |
| 35 | |
| 28 |
| User | Count |
|---|---|
| 134 | |
| 101 | |
| 71 | |
| 67 | |
| 65 |