Forum Discussion
OLE DB or ADC error: [outsource.error] An error happened while reading data from the provider
Interesting. If you are connecting through Get Data->SQL Server, then likely you are using the canned provider installed with Windows. So while it could be the cause, I doubt it
If you can pull data from one sql server and not another, I don't think it is an issue with the data provider
I'm wondering if it is a networking issue (firewall) between your desktop and the server
Are the sql servers installed on physically different servers or virtual machines, or are they on the same physical server?
Can you preview the data from the bad sql server in the query editor?
Confirming that I do indeed use the Get Data -> SQL Server interface.
The SQL Servers are located on physically different machines in completely different cities. The one in Toronto (primary server) works fine. The one in Atlanta (secondary server) is the one I have trouble with.
Data preview works fine on the problem tables. I can also manually refresh the table in question from the "Tables" panel in the Canvas screen (Ellipses --> Refresh Data). The only time the query fails on the secondary (Atlanta) server is when I refresh the entire report at once.
- blopez119 years ago
Super User
If you are able to see the data in the query editor, then I really doubt the data provider is the issue
I don't know your proximity to the Atlanta or Toronto server, so not sure whether query latency would be the issue
However, it seems that somewhere along the path to the Atlanta server, something is terminating the connection
I can't say for sure, but it seem that a rounter or network appliance is terminating the tcp connection, maybe b/c the connection is idle longer than some configured timeout
I would recommend possibly having one of your network guys install fiddler or wireshark on your desktop to maybe gain some insight into the network traffic from/to your desktop to the Atlanta server
Sorry I can't be of any further help,
- gsalas9 years ago
Advocate II
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.
- hugoberry9 years ago
Responsive Resident
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.