Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi
Does anyone know how to solve 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=10.88.164.156;alpalytics_dev
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
OBS: i already checked the credentials, passwod, server ID...
OBS: this is a Direct Query
Solved! Go to Solution.
Hi @Anonymous ,
This error means that the client can't find the SQL Server instance. This can happen when at least one of the following problems exists:
For more details, please refer to
Troubleshoot connecting to the SQL Server Database Engine - SQL Server | Microsoft Docs
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I ran accross this error today. I merged queries and the query I had merged with I did some renaming on the columns. I assumed if I corrected the names this would fix the error. Since I had renamed a bunch of columns I just pulled a new query of the same one. When I merged it with this one the error went away since I there were not any column name changes.
1.Go to control panel.
2.search for services.
3.Open Local services window from your search results
4.Restart your MSSQLSERVER service.
Regards,
J Wick
Hi @Anonymous ,
This error means that the client can't find the SQL Server instance. This can happen when at least one of the following problems exists:
For more details, please refer to
Troubleshoot connecting to the SQL Server Database Engine - SQL Server | Microsoft Docs
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Where is this coming from - your Power BI Desktop or a gateway/service refresh ?
I also face a similar error : 2146232060, the error come from PBI Service , I do not use a gateway. I connect to Azure SQL Database.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.