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
RoryB
Frequent Visitor

ErrorCode = -2146232060. Number = -2. Class = 11 - Dynamics Connection

I'm suddenly getting the following error: DataSource.Error: <ccon>Microsoft SQL: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.. DataSourceKind = CommonDataService. DataSourcePath = xxxxxxxxxxx. Message = Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.. ErrorCode = -2146232060. Number = -2. Class = 11. </ccon>. The exception was raised by the IDbCommand interface. Table: Lead.

 

This is on a DataSource connection to Dynamics 365. I've manually refreshed each other connection - all of which are also to the same Dynamics 365 instance - with no problems. It is just the Lead table. 

I opened a fresh instance of PBI desktop and made a connection to the Lead table that is only connecting. (i.e. there are two lines, Source and Navigation). It too is failing; but all other connections I try work.

Nothing in the Lead table changed over the weekend. The first new row of data came in *after* the refresh failed for the first time today. 

Any ideas would be appreciated. 

 

 

 

1 REPLY 1
Anonymous
Not applicable

Hi @RoryB ,

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 are similar issues: Solved: "Microsoft SQL: Execution Timeout Expired - Microsoft Power BI Community.

Solved: SQL Execution Timeout Expired - Microsoft Power BI Community

 

Best Regards
Community Support Team _ Rongtie

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

 

 

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.