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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Kwarre35
Helper I
Helper I

Dataflows Gen 2 Destination - Network-related error while establishing a connection to SQL Server

Hello, 

 

I am not sure why I am receiving this error and what to do about it. Any documentation references or things to try would be much appreciated.

 

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) (Request ID: aac5e031-ef0d-4067-af54-a6c18dd8cd91, Region: us)

Details

Reason = DataSource.Error

DataSourceKind = Lakehouse

DataSourcePath = Lakehouse

DataSourceKind.2 = SQL

DataSourcePath.2 = xXxXxXMaskedxXXxXxXxXccxz7ndcexuvbtax3wv7opzby.datawarehouse.fabric.microsoft.com;TenantData

Message = 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)

 

I can preview my destination successfully, until I attempt to create the new table by hitting next:

Kwarre35_1-1725895346914.png

 

I have write access to the Lakehouse: 

Kwarre35_0-1725895271668.png

 

I have written other tables successfully from csv files from the folder in a lakehouse into delta tables, but I cannot seem to get the destination to work within a Dataflows Gen 2 to land a basic table successfully into a lakehouse table. 

 

I am a Power BI Admin for my company

 

I do not see anything explicitly in Microsoft Documentation that is obvious clue for me where to start

https://learn.microsoft.com/en-us/fabric/data-factory/dataflow-gen2-data-destinations-and-managed-se...

4 REPLIES 4
v-xianjtan-msft
Community Support
Community Support

Hi @Kwarre35 

 

According to your description, Please check the following:

1. Ensure that the SQL Server instance is running.

2. Ensure that SQL Server is configured to allow remote connections.

3. Make sure the firewall is not blocking the SQL Server port (the default port is 1433).

Please refer to A network-related or instance-specific error occurred - SQL Server | Microsoft Learn get detailed steps.

 

Best Regards,
Jarvis Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for the lead. Will need to bring in additional resources to help me troubleshoot this. 

GilbertQ
Super User
Super User

Hi @Kwarre35 

 

Can you confirm if the lake house has been created with the new schema preview enabled? If the new schema preview is enabled, you will not be able to access the SQL endpoint for the time being, as this is currently still in preview.

 

But any work around for this is to create a new lake house, not in. there's not enabling the schema preview.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Thanks @GilbertQ for the suggestion, but no dice. 

 

I created a new Lakehouse, left the new schema preview unchecked when creating. I tried landing the table into the new lakehouse and I got the same error message. 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.