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
Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Power BI Release May 2022 768x460.png

Check it out!

Click here to read more about the May 2022 updates!