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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Starting on afternoon 12/16 my schedualed refreshes of dashboards started failing resulting in the Unable to connect to datasource error (below). There has been no change to the server infrastructure an according to the Power Bi Gateway manager the gateway is "Online: you are good to go" and the dataset source itself returns "Connection Successful".
I have attempted to use multiple gateways on different servers but the results are the same. has anyone else had this problem?
| Underlying error code: | -2147467259 |
| Underlying error message: | Microsoft SQL: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding. |
| DM_ErrorDetailNameCode_UnderlyingHResult: | -2147467259 |
| Microsoft.Data.Mashup.ValueError.Class: | 11 |
| Microsoft.Data.Mashup.ValueError.DataSourceKind: | SQL |
| Microsoft.Data.Mashup.ValueError.DataSourcePath: | Redacted |
| Microsoft.Data.Mashup.ValueError.ErrorCode: | -2146232060 |
| Microsoft.Data.Mashup.ValueError.Message: | Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding. |
| Microsoft.Data.Mashup.ValueError.Number: | -2 |
| Microsoft.Data.Mashup.ValueError.Reason: | DataSource.Error |
Hi, @JohnKrisa
It’s my pleasure to answer for you.
I need to ask a few questions to judge: Is it only this data source that failed to refresh? How long has the situation lasted? How long was the refresh duration when it was normal (you can check in the dataset>> refresh history)? Is there a data source other than sql in this dataset? Is refreshing successful using 'Refresh Now' in the service? Is refreshing successful in the desktop?
You can check the solved similar case:Solved: "Microsoft SQL: Execution Timeout Expired - Microsoft Power BI Community
If it doesn’t solve your problem, please feel free to ask me.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
HI @JohnKrisa ,
The gateway software was recently released with an update. Have you confirmed that the software on the server has been updated? That said, the error is stating the SQL is timing out. After confirming that the gateway software is updated, you might want to modify your query to extend the timeout time on your query(ies).
I would appreciate Kudos if my response was helpful. I would also appreciate it if you would Mark this As a Solution if it solved the problem. Thanks!
Proud to be a Datanaut!
Private message me for consulting or training needs.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 56 | |
| 55 | |
| 32 | |
| 18 | |
| 14 |