cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
suidino2
Frequent Visitor

SQL endpoint connection

I encounter a problem.

 

The scenario is as following:

1. Create a Lakehouse

2. Saved several Excel files in File of the created Lakehouse

3. Use Dataflow Gen 2 to load data in those Excel files from 2 load it into Lakehouse Table.

4. Once the table created from 3, we can see table in the Lakehouse SQL endpoint

5. Open PBI desktop and load data from Lakehouse SQL endpoint 

 

Then I encountered following error:

Details: "Microsoft SQL: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)"

 

Any ideas?

1 ACCEPTED SOLUTION
miguel
Community Admin
Community Admin

Hey!

What connector are you using when doing this connection test against the Lakehouse?

View solution in original post

3 REPLIES 3
miguel
Community Admin
Community Admin

Hey!

What connector are you using when doing this connection test against the Lakehouse?

Hello, I was using the Datalake connector.

I havent tried it yet, but I think @jwelch has the point. The message is kind of same when I tried to connect to Databricks/ Synapse in the past when corporate firewall unmodified. 

jwelch
Microsoft
Microsoft

This is likely a firewall restriction on your computer or network. The connection is being made directly from your machine running PBI Desktop to the SQL endpoint in Microsoft Fabric, and may be blocked by your network admins.

 

You can check this by using SSMS or Azure Data Studio to attempt to connect to the LH endpoint - if it fails, then you would need to talk to your network admins about opening up the firewall for the endpoint. You can get the connection string by selecting "More options" on the SQL endpoint listing in the workspace, and then "Copy SQL connection string".

Helpful resources

Announcements
Fabric August Update Carousel

Fabric August 2023 Update

Check out the August 2023 Fabric update to learn about new features.

Data Factory Founders Badge

Data Factory Community Founders Badge

Become a founding member of the Data Factory Community.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Data Factory Webinar Series Sept

Join the Data Factory Webinar series!

Want to learn more about Data Factory in Fabric? Join our webinars this month to build up your Data Factory skills!

Top Solution Authors