The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello Community -
I am having a bit of a strange issue with my On-Prem Data Gateway and getting a SQL Server Connection working with the gateway.
I have 3 databases on on server in SQL Server, and I am able to connect to all 3 databases from the desktop without any issues. When I push the report to the service, and assign the connections to the gateway, I have no issues with 2 out of the 3 databases. 2 of the databases on the server work and refresh when connected to the gateway, but the 3rd database (on the same server) throws an error when I try to assign the connection to the gateway. Here is the error I get:
Unable to update connection credentials.
Logging into Sql server failed. Possible reasons for this error include an invalid authentication mode, a missing login in Sql server, a login from an untrusted domain or a problem contacting the domain controller for the authentication request.
Details:
OANDE_PBI: Received error payload from gateway service with ID 1595192: SqlException encountered while accessing the target data source.
Please have this information handy if you choose to create a support ticket.
Session Id: 372c0c20-73f8-4d33-8478-94fdc6ede927
RequestId: eb3f9fd2-18b5-46ae-94fc-a632bbc74fb8
Cluster URI: https://api.powerbi.com
Status code: 400
Time: Tue Feb 11 2025 22:24:08 GMT-0500 (Eastern Standard Time)
Have any of you encountered this error before and were you able to resolve it? The server Certificate is checked as Trusted but I am not sure what else to do for this error. Any help is appreciated.
Thanks Community!
Ryan F
Solved! Go to Solution.
Hi @RyanFiting,
I understand you're experiencing an issue with connecting one of your SQL Server databases to the On-Premises Data Gateway for refresh in Power BI.
When I referred to "restarting the gateway," I meant stopping and starting the On-Premises Data Gateway service, not uninstalling and reinstalling it.
For detailed instructions, you can refer to Microsoft’s official documentation:
Restart an on-premises data gateway | Microsoft Learn
Please go through the below link for additional information:
Troubleshoot the on-premises data gateway | Microsoft Learn
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query.
Thankyou.
Hi @RyanFiting,
We haven’t heard back from you regarding your issue. If it has been resolved, please mark the helpful response as the solution and give a ‘Kudos’ to assist others. If you still need support, let us know.
Thank you.
Hi @RyanFiting,
Thank you for reaching out to the Microsoft Fabric Community Support.
I understand you're experiencing an issue with connecting one of your SQL Server databases to the On-Premises Data Gateway for refresh in Power BI. Here are some steps you can follow to troubleshoot and resolve this issue:
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query.
Thank you.
I have tried all but one of these but they did not work.
When you say 'restart the gateway' are you referring to uninstalling and reinstalling the gateway? Then am I required to go back to all 30+ of my reports and reconfigure all of the data sources to the 're-installed' gateway?
Hi @RyanFiting,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @RyanFiting,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Hi @RyanFiting,
I understand you're experiencing an issue with connecting one of your SQL Server databases to the On-Premises Data Gateway for refresh in Power BI.
When I referred to "restarting the gateway," I meant stopping and starting the On-Premises Data Gateway service, not uninstalling and reinstalling it.
For detailed instructions, you can refer to Microsoft’s official documentation:
Restart an on-premises data gateway | Microsoft Learn
Please go through the below link for additional information:
Troubleshoot the on-premises data gateway | Microsoft Learn
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query.
Thankyou.
Thanks for the information. I have tried all of these besides one and it did not work.
When you say 'restart' the gateway, are your referring to uninstalling and reinstalling and then reconfiguring all of my reporting and workspaces to the gateway?