Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Krish89
Helper II
Helper II

Power BI Dataset refersh failing with the error “Microsoft SQL: Execution Timeout Expired"

Hello Power BI Community,

I am getting the error when refreshing dataset in Power BI service with the following error message.

“Data source error: Microsoft SQL: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.. The exception was raised by the IDbCommand interface.”

 

Our datasource is Azure SQL server.

 

Any help on the issue would be appreciated.

 

Regards,

Krishna.

7 REPLIES 7
TomMartens
Super User
Super User

Hey @Krish89 ,

 

after you published the report to the Power BI workspace, did you check the connections settings of the dataset? You will find these settings on the refresh schedule page of the dataset.

TomMartens_0-1595179943584.png

 

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Hi Tom,

Yes, I have checked the datasource settings and it is configured with the right credentials and the refresh was working a week ago but not getting this timeout eror.

 

Regards,

Krishna

Hi @Krish89 ,

 

Please refer to this document.

SqlCommand.CommandTimeout Property Definition 

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

 

I now end up with the new error. I didnt understand what "the parameter is not valid" means.

My dataset has 6 reports associated with it.

 

Regards,

Krishna.

Krish89_0-1595571278179.png

 

Hi @Krish89 ,

 

Does your report have parameters? Try to check the parameters.

v-lionel-msft_0-1596087368909.png

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Hi @v-lionel-msft ,

 

Yes we have two parameters in the report for incremental refresh(RangeStart and RangeEnd)

 

Regards,

Krishna

Hi @Krish89 ,

 

There is a problem with the two parameters you created, please refer to the documentation.

RangeStart and RangeEnd parameters 

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!