Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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
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
Your SQL Server configuration may not include the Named Pipes protocol. However, you should normally use TCP/IP anyway.
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 .
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.