The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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!
User | Count |
---|---|
59 | |
55 | |
53 | |
49 | |
30 |
User | Count |
---|---|
177 | |
88 | |
70 | |
48 | |
48 |