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

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.

Reply
Anonymous
Not applicable

Error 40 SQL Issue Connecting to Dataflows

Hi - I'm having issues

 

DataSource.Error: 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)
Details:
DataSourceKind=PowerPlatformDataflows
DataSourcePath=PowerPlatformDataflows
DataSourceKind.2=Lakehouse
DataSourcePath.2=Lakehouse
DataSourceKind.3=SQL
DataSourcePath.3=zrw6n6nljmuutk2l55ymzhwclu-vbiutreee3surcdky5emx347oa.datawarehouse.fabric.microsoft.com;DataflowsStagingLakehouse
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)
ErrorCode=-2146232060
Number=53
Class=20
State=0

zgrecohw_0-1730405470364.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks for all the input - the issue ended up being an update to my orgs Zscaler client that blocked access to the needed endpoints. Issue resolved!

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Thanks for all the input - the issue ended up being an update to my orgs Zscaler client that blocked access to the needed endpoints. Issue resolved!

Anonymous
Not applicable

Hi @Anonymous ,

 

I think you can start by checking your SQL Server configuration, and this document below provides some steps to help you troubleshoot these errors, which are provided in order of problem from simple to complex.

A network-related or instance-specific error occurred - SQL Server | Microsoft Learn

 

 

Best Regards,

Clara Gong

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.

SaiTejaTalasila
Super User
Super User

Hi @Anonymous ,

 

If you are seeing the issue on the dataflow this might be an issue related with your gateway.

https://learn.microsoft.com/en-us/fabric/data-factory/gateway-considerations-output-destinations

https://community.fabric.microsoft.com/t5/Dataflow/Dataflows-Gen2-not-connecting-to-lakehouse/m-p/3574263

I hope it will be helpful.

 

Thanks,

Sai Teja 

 

mattiasdesmet
Resolver II
Resolver II

Is this a transient issue? Does the Lakehouse SQL Endpoint still exist? Do you have access to it?

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors