Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi All,
I have a gateway installed on an AWS server.
I have multiple connections to MySQL databases, and they work correctly.
I recently created a new connection to a SQL Server database using the following address:
xx000.webserver.xx\MSSQLSERVER2019
When I manually refresh the semantic model on demand, everything works fine.
However, when I schedule the refresh using the semantic model settings, generally the refresh fails.
Sometimes, the scheduled refresh does go through, but it's rare.
The error message is:
Data source error: {"error":{"code":"DM_GWPipeline_Gateway_DataSourceAccessError","pbi.error":{"code":"DM_GWPipeline_Gateway_DataSourceAccessError","parameters":{},"details":[],"exceptionCulprit":1}}} Table: Table_aaa
Any help or suggestions would be appreciated.
Best regards,
Giuseppe
Solved! Go to Solution.
The issue is likely with your SQL Server connection string. When using named instances (\MSSQLSERVER2019), scheduled refreshes can fail even though manual refresh works.
Try using the full TCP connection details instead:
Server: xx000.webserver.xx,1433 (replace with actual port)
Or use the server's IP address with port
Update the data source in your gateway configuration with these TCP details.
Hi @Giu
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.
Thank you.
The issue is likely with your SQL Server connection string. When using named instances (\MSSQLSERVER2019), scheduled refreshes can fail even though manual refresh works.
Try using the full TCP connection details instead:
Server: xx000.webserver.xx,1433 (replace with actual port)
Or use the server's IP address with port
Update the data source in your gateway configuration with these TCP details.
Hi @Giu,
This error usually means the gateway could not reliably reach your SQL Server data source at refresh time. Because you are using a named instance (xx000.webserver.xx\MSSQLSERVER2019) on a gateway host in AWS, the most common root causes are:
Some things to try:
If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.
Hi @Giu
This issue happens because the gateway can’t consistently access your SQL Server during scheduled refresh even though manual refresh works. Here are the key checks/fixes that usually solve it:
1. Gateway mapping: In Manage Gateways, make sure the SQL Server name and database match exactly, and your dataset is linked to this gateway.
2. Credentials: Re-enter SQL Server login under Dataset >> Data Source Credentials using the correct authentication method (Windows or SQL).
3. Port / Instance: If using a named instance, set a static port 1433 and connect as xx000.webserver.xx,1433; ensure the SQL Browser service is running.
4. Network: Verify that port 1433 is open and the gateway service account has both network and database access.
5. Logs: Check C:\Program Files\On-premises data gateway\ for DM_GWPipeline_Gateway_DataSourceAccessError to identify connection or login issues.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!