Forum Discussion
Issues Connecting SQL Server Database to Gateway for Refresh
- 1 year ago
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.
- Via the On-Premises Data Gateway Application:
- Launch the On-Premises Data Gateway application on the server.
- Go to the Service Settings tab.
- Select Restart.
For detailed instructions, you can refer to Microsoft’s official documentation:
Restart an on-premises data gateway | Microsoft Learn
- Please open SQL Server Management Studio (SSMS) and examine the SQL Server error logs (ERRORLOG). Check for any failed login attempts related to the problematic database. If the account is blocked or expired, re-enable it.
- Log into the problematic database via SSMS using the exact credentials configured in the gateway. If the login fails, ensure that the account has the necessary permissions (db_datareader or higher) on the specific database.
- Ensuring there are no network or firewall restrictions obstructing the connection.
- Please review the gateway logs for further error details. You can access these logs through the gateway installation directory or the gateway application.
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.
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,
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.