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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
nigi1978
Frequent Visitor

Microsoft Fabric: writing data with dataflow gen2 to Fabric Warehouse

Dear all

 

we want to write data to a Fabric Warehouse via dataflow gen 2 to an existing Fabric Warehouse, but get the error message below.

 

The dataflow reads from an on-premise MS SQL database via a gateway. The reading works with no issue and the dataflow runs fine as long we do not try to write the results to our Warehouse in the cloud.

 

The strange thing is that it worked a few times, but now it stopped working with the mentioned error. 

 

Anyone any ideas what this could be?

 

Thanks!

 

Screenshot 2024-11-08 195443.png

1 ACCEPTED SOLUTION

Hi @v-huijiey-msft @FabianSchut 

 

thanks for your feedback - I asked my colleagues who administer our cloud to check.

 

Probably you are right that it is related to firewall / network settings.

 

For  the moment I was able to solve it via the workaround described in at the end of the link below (splitting in two dataflows: one just reading the on-prem source and the other taking the first dataflow as input and then writing to the data warehouse):

https://learn.microsoft.com/en-us/fabric/data-factory/gateway-considerations-output-destinations

View solution in original post

5 REPLIES 5
v-huijiey-msft
Community Support
Community Support

Hi @nigi1978 ,

 

Thanks for the reply from FabianSchut .

 

The error message indicates that a network problem or instance-specific error was encountered while connecting to SQL Server.

 

Here are some of my suggestions:

1. Make sure the SQL Server instance is running.

vhuijieymsft_0-1731314241135.png

 

2. Check that SQL Server is configured to allow remote connections. In SQL Server Configuration Manager, ensure that the “TCP/IP” and “Named Pipes” sections of the “SQL Server Network Configuration” are configured to allow remote connections. Named Pipes” of ‘SQL Server Network Configuration’ are enabled.

vhuijieymsft_1-1731314241137.png

 

3. Ensure that the firewall is not blocking the SQL Server port (the default instance is usually 1433). You may need to add a new inbound rule to the firewall to allow this port.

vhuijieymsft_2-1731314259095.png

 

4. Make sure the SQL Server Browser service is running.

vhuijieymsft_3-1731314259098.png

 

After checking the above factors, remember to restart your current SQL Server instance before reconnecting in Dataflow Gen2 to see if it works.

 

If you have any other questions please feel free to contact me.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

Hi @v-huijiey-msft @FabianSchut 

 

thanks for your feedback - I asked my colleagues who administer our cloud to check.

 

Probably you are right that it is related to firewall / network settings.

 

For  the moment I was able to solve it via the workaround described in at the end of the link below (splitting in two dataflows: one just reading the on-prem source and the other taking the first dataflow as input and then writing to the data warehouse):

https://learn.microsoft.com/en-us/fabric/data-factory/gateway-considerations-output-destinations

Hi @nigi1978 ,

 

It looks like you have found a solution. Could you please mark this helpful post as “Answered”?

 

This will help others in the community to easily find a solution if they are experiencing the same problem as you.

 

Thank you for your cooperation!

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

v-huijiey-msft
Community Support
Community Support

Hi @nigi1978 ,

 

Thanks for the reply from FabianSchut .

 

The error message indicates that a network problem or instance-specific error was encountered while connecting to SQL Server.

 

Here are some of my suggestions:

1. Make sure the SQL Server instance is running.

vhuijieymsft_0-1731314241135.png

 

2. Check that SQL Server is configured to allow remote connections. In SQL Server Configuration Manager, ensure that the “TCP/IP” and “Named Pipes” sections of the “SQL Server Network Configuration” are configured to allow remote connections. Named Pipes” of ‘SQL Server Network Configuration’ are enabled.

vhuijieymsft_1-1731314241137.png

 

3. Ensure that the firewall is not blocking the SQL Server port (the default instance is usually 1433). You may need to add a new inbound rule to the firewall to allow this port.

vhuijieymsft_2-1731314259095.png

 

4. Make sure the SQL Server Browser service is running.

vhuijieymsft_3-1731314259098.png

 

After checking the above factors, remember to restart your current SQL Server instance before reconnecting in Dataflow Gen2 to see if it works.

 

If you have any other questions please feel free to contact me.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

FabianSchut
Super User
Super User

Is it possible that someone added some security rules for Fabric like Entra Conditional Access? And who is the owner of the Warehouse? Is something changed there?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

JanFabricDE_carousel

Fabric Monthly Update - January 2025

Explore the power of Python Notebooks in Fabric!

JanFabricDW_carousel

Fabric Monthly Update - January 2025

Unlock the latest Fabric Data Warehouse upgrades!

JanFabricDF_carousel

Fabric Monthly Update - January 2025

Take your data replication to the next level with Fabric's latest updates!