Forum Discussion
Error 2146232060
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
- Anonymous4 years ago
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:
- The name of the computer hosting the SQL Server instance doesn't resolve the correct IP
- The TCP port number isn't specified correctly
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.
6 Replies
- AnonymousNot applicable
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:
- The name of the computer hosting the SQL Server instance doesn't resolve the correct IP
- The TCP port number isn't specified correctly
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.
- JameswalterNew Member
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 - lbendlinSuper User
Where is this coming from - your Power BI Desktop or a gateway/service refresh ?
- AnonymousNot applicable
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.
- rushmoremgFrequent Visitor
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.
- vijaycp2Helper I
I am also facing same issue from POwer BI Service.JobCost - Power BI This is database connection defined from power bi server using manage database connection.