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

60 Days of Data Days! Live and on-demand sessions, challenges, study groups and more! And it's all FREE!. Join now. Learn more

Reply
Jalalmn
Frequent Visitor

error on MSSQL database import with dataflow gen2

Hi,

 

I have received a SQL Server connection using username and password (and server) and want to use it in fabric dataflow gen2.

The connection works on azure data studio and even power BI desktop. But on dataflow gen2, it returns an error:

 

The connection could not be established. Access may not be possible via this network or via this URI, or a gateway may be required to access this data source.

 

I have played with different server with port and without port settings, but it does not work.

 

Would appreciate your help!

Best,

Jalal

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Jalalmn ,

As I said above, SQL Server is an on-premises data source that requires a gateway to upload to Fabric Data Factory.

If you select SQL Server instead of gateway, the above error will occur.

 

 

Best Regards

Yilong Zhou

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

3 REPLIES 3
Anonymous
Not applicable

Hi @Jalalmn ,

I also create a SQL Server as you mentioned.

vyilongmsft_0-1721872129071.png

Then I select SQL Server database in Data flow Gen2.

vyilongmsft_1-1721872285301.png

When I choose not to use the gateway connection during the connection process, the same warning will be returned as you.

vyilongmsft_2-1721872780512.png

vyilongmsft_3-1721873096158.png

So I think you should choose the gateway correctly and make sure that the gateway is configured correctly.

vyilongmsft_4-1721874327582.png

 

 

 

Best Regards

Yilong Zhou

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

Thank you so much for your quick reply 🙂

 

You mean regarding the context there is no way to make the connection work directly (without gateway)?

 

Best,

Jalal

Anonymous
Not applicable

Hi @Jalalmn ,

As I said above, SQL Server is an on-premises data source that requires a gateway to upload to Fabric Data Factory.

If you select SQL Server instead of gateway, the above error will occur.

 

 

Best Regards

Yilong Zhou

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

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.