The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi
I am getting Sql Timeout exception on report refresh. This is failing only on server. On Desktop things are running fine
Exception: Failure details: Microsoft SQL: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
I tried to update connection timeout from power Bi desktop and published the same but somehow power BI service is running only for 20 minutes. How can I update the connection timeout on server.Please let me know if I am missing anything.
This is how I updated the connection threshold.
Solved! Go to Solution.
Hi @Anonymous ,
The timeout of SQL command can be modified from SQL Server itself or tools like SSMS, but from Power BI, you could only change it from the SQL connector dialog. In Power BI service(app.powerbi.com), there isn’t an option to do the same setting. And the timeout specified in the connector will overwrite the setting timeout in the SQL database for the generated queries from Power BI service. Here is a similar issue: Solved: "Microsoft SQL: Execution Timeout Expired - Microsoft Power BI Community.
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please let me know. Thanks a lot!
Best Regards,
Community Support Team _ Caiyun
Hi @Anonymous ,
The timeout of SQL command can be modified from SQL Server itself or tools like SSMS, but from Power BI, you could only change it from the SQL connector dialog. In Power BI service(app.powerbi.com), there isn’t an option to do the same setting. And the timeout specified in the connector will overwrite the setting timeout in the SQL database for the generated queries from Power BI service. Here is a similar issue: Solved: "Microsoft SQL: Execution Timeout Expired - Microsoft Power BI Community.
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please let me know. Thanks a lot!
Best Regards,
Community Support Team _ Caiyun
These timeouts are different from each other
Connection Timeout: How long it takes to negotiate entry into the source system (authentication, authorization)
Execution Timeout: How long it takes from the start of the query to the moment when the first data is spooled back
You can set both timeouts in the Power Query script.
In addition your data source (SQL server) will have its own limits. Talk to your DBA about these.