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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

cant connect to sql server

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)"
@Ahmedx @amitchandak 

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous ,
Based on the error message you provided, this error message indicates a problem with the connection to Microsoft SQL Server. First, make sure that the server name and instance name in the connection string are correct. Second, make sure that SQL Server is running on the server machine. You can check this by opening SQL Server Management Studio and connecting to the server. Then, if there is a firewall between the client and the server, make sure that the necessary ports for SQL Server are open. By default, SQL Server uses port 1433 for TCP/IP connections. You may need to configure your firewall to allow incoming connections on this port.
For more information about linking databases, you can refer to the following documentation
Configure a Windows Firewall for Database Engine Access - SQL Server | Microsoft Learn
A network-related or instance-specific error occurred - SQL Server | Microsoft Learn

Best regards,

Albert He

 

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

lbendlin
Super User
Super User

Your SQL Server configuration may not include the Named Pipes protocol. However, you should normally use TCP/IP anyway.

Anonymous
Not applicable

yes.....i have enabled TCP/IP and still not able to access, though i am able to import data to sql server.
How to proceed ahead with this kind of problem ?  

If you have a Pro license you can open a Pro ticket at https://admin.powerplatform.microsoft.com/newsupportticket/powerbi
Otherwise you can raise an issue at https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues .

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 Solution Authors
Top Kudoed Authors
Users online (5,129)