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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Kazanskyi
Frequent Visitor

error: 40 - Could not open a connection to SQL Server

Can't set up a connection with a dataflow to the SQL Server through the gateway.

 

We use a gateway to connect to the SQL database in multiple reports with no issues, but the dataflow throws an error.

Kazanskyi_0-1699389855017.png

 

4 REPLIES 4
GilbertQ
Super User
Super User

Hi @Kazanskyi 

 

That should be on the datasource settings in the Gateway where you can change that!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Hi @GilbertQ ,

 

Sorry, I can't find it in the Gateway data source settings as well.

Kazanskyi_0-1699448320776.png

 

GilbertQ
Super User
Super User

Hi @Kazanskyi 

 

From the error could you try and change the connection to use TCP/IP instead of Named Pipes?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Hello @GilbertQ ,

Sorry, I can't find any advanced settings to change it.

Kazanskyi_0-1699395431325.png

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors