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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

OLE DB or ODBC error: [DataSource.Error] Microsoft SQL: Execution Timeout Expired.

hi,

 

I have three query and complete data is loaded 
1 first query loaded - 1,535,545 records

2 query - 9424 records

3 query - 1117990 records 

All the records is loaded but after complete records count, it still keep loading and then gives error - OLE DB or ODBC error: [DataSource.Error] Microsoft SQL: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

 

Not sure what is the reason for error. 

 

Please provide any suggestion.thanks

 

1 ACCEPTED SOLUTION
Kishore_KVN
Super User
Super User

Hello @Anonymous ,

 

Not sure if you are following these points or not but to handle such situations I follow some best practises like:

1. Clear the catche in the desktop file

2. Dont load entire data load only required amount of columns and rows from DB.

3. Dont load all the tables at once, load one by one tables

4. Turn off auto detect relationships in options this will also impact the time. 

 

After using about steps if your problem is resolved, then please mark this reply as solution. Thanks!!

View solution in original post

1 REPLY 1
Kishore_KVN
Super User
Super User

Hello @Anonymous ,

 

Not sure if you are following these points or not but to handle such situations I follow some best practises like:

1. Clear the catche in the desktop file

2. Dont load entire data load only required amount of columns and rows from DB.

3. Dont load all the tables at once, load one by one tables

4. Turn off auto detect relationships in options this will also impact the time. 

 

After using about steps if your problem is resolved, then please mark this reply as solution. Thanks!!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.