Forum Discussion
OLE DB or ADC error: [outsource.error] An error happened while reading data from the provider
Thanks for your help. Unfortunately, we don't really have a network "guy." Just my DA who says that the SQL Server is runing the queries fine. The servers are leased, so we have little to no control over the connectivity settings. Hopefully Microsoft will build some kind of "buffering" into the report refreshes function so that an interrupted connection doesn't kill the whole refresh.
You can play with various options in the Sql.Database access data function in your power BI query.
Loooking at the MSDN for this function https://msdn.microsoft.com/en-us/library/mt260902.aspx there are plenty options to choose from. My favourite ones are CommandTimeout, MultiSubnetFailover and MaxDegreeOfParallelism.
- Anonymous5 years agoNot applicable
Hi viralmehta9 - I ran into the same issue a couple of minutes ago and managed to update the Command Timeout following these steps:
1) On the query Editor, select the query you wish to update.
2) Click on the Source's Gear Icon
3) Enter the desired command timeout minutes
I hope this helps! - gsalas9 years ago
Advocate II
I think the ComandTimeout function was the key. I have set it to 30 minutes and now everything is loading smoothly. Thanks!
- Anonymous5 years agoNot applicable
Thanks Anonymous . I had shifted my approach. But thank you for response.
- blopez119 years ago
Super User
That is awesome, and great information to know
- gsalas9 years ago
Advocate II
I had some success increasing the command timeout to 30 minutes, but I am still getting the error message. What do the other two commands mean and what setting would you recommend?
- Anonymous5 years agoNot applicable
Hi.. thanks for mentioning your solution. Can you help me understand how to set the commandTimeout to greater value. I am facing same issue with my Power bi desktop reports.
Thanks
- Anonymous5 years agoNot applicable
its shame no one answered this gentlman ðŸ˜