cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jessicaloureiro
Frequent Visitor

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

 

1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @jessicaloureiro ,

 

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.

View solution in original post

2 REPLIES 2
v-stephen-msft
Community Support
Community Support

Hi @jessicaloureiro ,

 

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.

lbendlin
Super User
Super User

Where is this coming from - your Power BI Desktop or a gateway/service refresh ?

 

Helpful resources

Announcements
June 2022 update 768X460.jpg

Check it out!

Click here to read more about the June 2022 updates!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

June 20 episode 7 with aka link 768x460.jpg

The Power BI Community Show

Join us on June 20 at 11 am PDT when Kim Manis shares the latest on Azure Synapse analytics, the Microsoft Intelligent Data Platform, and notable Power BI Updates from Microsoft Build 2022.

Top Solution Authors