I have a SharePoint site from which I pull data into Excel and PowerBI using OData. Until today, the connection has been solid and problem free. However, today it has stopped working. The problem started after I did some cleanup on the SharePoint site--deleting multiple items from a list, and adding others. The list that I was working in is a lookup field for items in another list, but that doesn't seem to me like a reason why the OData feed should have broken. FYI, I am the owner of the SharePoint site, but I made no structural changes to the site at all--I just added and deleted items. When I try to refresh the OData feed from Excel, I get this error message:
----------
We couldn't refresh the connection 'connection_name'. Here's the error message we got:
The underlying connection was closed: An unexpected error occurred on a receive.
Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
An existing connection was forcibly closed by the remote host.
-----------
I did do a few things to try to narrow down the source of the problem. First, I created a brand new PowerBI project and a brand new Excel file, and in both I tried to create a new OData connection to the SharePoint site. But I get the following error when it tries to establish the connection:
-----------
Unable to Connect
We encountered an error when trying to connect
Details: "OData: Request failed: The underlying connection was closed: An unexpected error occurred on a receive."
-----------
Second, I tried to establish an OData connection to a different SharePoint site on the same server. That worked flawlessly.
So it seems that by adding and removing items in a SharePoint list, I've broken the OData connection. Has anyone else experienced this problem? If anyone has ideas or solutions, I'd be grateful to hear from you. Thanks.