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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
turbobeagle18
New Member

When parameterizing data connections, cannot refresh the data connections in the Desktop

I get this error:

 

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=SQL
DataSourcePath=server;database
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

2 REPLIES 2
Anonymous
Not applicable

Thanks for the reply from lbendlin.

 

Hi @turbobeagle18 ,

 

This issue occurs when at least one of the following problems exists: The TCP port number isn't specified correctly. The name of the computer hosting SQL Server is incorrect. The instance doesn't resolve the correct IP.

You can refer to the following link to troubleshoot the problem:

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

 

If you are using Named Pipes to connect, it fails because the user does not have permission to log on to Windows. Add the user to the Users group on the server that's running SQL Server. If SQL Server is mirrored or clustered, repeat on all computers within the group.

 

Best Regards,
Zhu

 

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

lbendlin
Super User
Super User

can you show a sanitized version of the Power Query code?

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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