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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

An error occurred during the pre-login handshake.

Hello everyone, I hope you guys could help me.

 

Im working on Power BI Desktop, I connect to a SQL instance and data loads into Power Query, everything looks fine.

When I try to save the query got the following message:

 

Query1
Failed to save modifications to the server. Error returned: 'OLE DB or ODBC error: [DataSource.Error] Microsoft SQL: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - Se ha forzado la interrupción de una conexión existente por el host remoto.). '.
 
Appreciate your help and best regards.
3 REPLIES 3
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous ,

A little confused about your scenario.

Do you connect to remote SQL Server from Power BI Desktop? And is the firewall turned on in the server that installing SQL Server?

If so, please check that if you have added the TCP port and UDP port(1434) in the inbound rule of the Windows Firewall, and you can verify TCP port in SQL Server Configuration Manager.
For more details about configuring remote access for SQL Server, please review the following blog.
https://blog.citrix24.com/configure-sql-express-to-accept-remote-connections/ 

Best  Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hello,

 

Firewall is turned on, my IP is added in it.

I still have the same issue =/

 

Any other way to fix it?

 

Appreciate your help.

Best regards.

Anonymous
Not applicable

Hey, thank you for the reply.

And yes, Im trying to connect Power BI Desktop to a SQL database thru VPN.

I will check if the Firewall set to on, if so, I will ask my IP Address to be added on Server and let you know.

 

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.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors