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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
andygill
New Member

Mashup error - TDS/SQL

Hi All,

 

I'm having a problem with a few reports today. 

 

We used to report on Dynamics from an Azure SQL db fed from the CRM Export plugin, which has now deprecated. We altered the reports and hooked them up to the new TDS endpoint in dynamics where they have been refreshing just fine. 

On Friday morning, I delete the old reporting SQL as its no longer required. This has caused some reports to stop refreshing, even though there was no reference to that database in the pbix. The error only mentions the TDS endpoint, but the only reports that are broken are the ones that used to use the old Azure database and now use TDS instead. 

Creating a new report with TDS works just fine.

 

Any ideas?

 

Error as follows: 

 

Data source error{"error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","pbi.error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","parameters":{},"details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorCode","detail":{"type":1,"value":"-2147467259"}},{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"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)"}},{"code":"DM_ErrorDetailNameCode_UnderlyingHResult","detail":{"type":1,"value":"-2147467259"}},{"code":"Microsoft.Data.Mashup.ValueError.Class","detail":{"type":1,"value":"20"}},{"code":"Microsoft.Data.Mashup.ValueError.DataSourceKind","detail":{"type":1,"value":"SQL"}},{"code":"Microsoft.Data.Mashup.ValueError.DataSourcePath","detail":{"type":1,"value":"t****p.crm*.dynamics.com;**sandbox"}},{"code":"Microsoft.Data.Mashup.ValueError.ErrorCode","detail":{"type":1,"value":"-2146232060"}},{"code":"Microsoft.Data.Mashup.ValueError.Message","detail":{"type":1,"value":"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)"}},{"code":"Microsoft.Data.Mashup.ValueError.Number","detail":{"type":1,"value":"53"}},{"code":"Microsoft.Data.Mashup.ValueError.Reason","detail":{"type":1,"value":"DataSource.Error"}}],"exceptionCulprit":1}}} Table: Project Tracker.
Cluster URIWABI-NORTH-EUROPE-D-PRIMARY-redirect.analysis.windows.net
Activity IDf9e5a7d9-c142-4cbf-9bab-7c2d09aca880
Request ID7b2a735f-5550-eb59-7393-f1484e69e314
Time2023-08-17 12:29:36Z

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @andygill ,

It seems that the error you’re getting is related to the connection to the SQL Server that hosts the TDS endpoint.

this error can be caused by various factors, such as:

  • The SQL Server name or instance name is incorrect or not reachable.
  • The connection string or authentication settings for the TDS endpoint in Dynamics.
  • The SQL Server is not configured to allow remote connections.
  • The gateway is outdated or not selected for the dataset.

Solution:

  • Verify that the SQL Server name and instance name are correct and match the ones in Power BI Desktop.
  • Checking the connection string and authentication settings for the TDS endpoint in Dynamics to make sure they are still correct and up-to-date. You could also try recreating the connection to the TDS endpoint in the Power BI report to see if that resolves the issue.
  • Open the port used by the SQL Server (default is 1433) in the firewall settings.
  • Install the latest version of the gateway and make sure it is selected for the dataset in Power BI service.

Solved: SQL Server Named Pipes Provider, error: 40 - Microsoft Fabric Community

 

If in doubt, please do not hesitate to ask.

 

Best Regards
Community Support Team _ Rongtie

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

1 REPLY 1
Anonymous
Not applicable

Hi @andygill ,

It seems that the error you’re getting is related to the connection to the SQL Server that hosts the TDS endpoint.

this error can be caused by various factors, such as:

  • The SQL Server name or instance name is incorrect or not reachable.
  • The connection string or authentication settings for the TDS endpoint in Dynamics.
  • The SQL Server is not configured to allow remote connections.
  • The gateway is outdated or not selected for the dataset.

Solution:

  • Verify that the SQL Server name and instance name are correct and match the ones in Power BI Desktop.
  • Checking the connection string and authentication settings for the TDS endpoint in Dynamics to make sure they are still correct and up-to-date. You could also try recreating the connection to the TDS endpoint in the Power BI report to see if that resolves the issue.
  • Open the port used by the SQL Server (default is 1433) in the firewall settings.
  • Install the latest version of the gateway and make sure it is selected for the dataset in Power BI service.

Solved: SQL Server Named Pipes Provider, error: 40 - Microsoft Fabric Community

 

If in doubt, please do not hesitate to ask.

 

Best Regards
Community Support Team _ Rongtie

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

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors