I created a PowerPivot chart out of a SharePoint exported list to Data Feed.
I then published it to a trusted Document Library.
The Chart is working well but is not updating.
So if I go to the document library and on the drop down meny of the publsihed excel file I choose Manage PowerPivot Data Refresh and force it to refresh, it fails with the following error message>
Errors in the high-level relational engine. The following exception occurred while the managed IDbConnection interface was being used: The remote server returned an error: (401) Unauthorized.. A connection could not be made to the data source with the DataSourceID of '3b4d4c28-909c-47d3-b4d6-07684f5e2ee9', Name of 'DataFeed mywebapp.domain TestPowerPivotDataFeed'. An error occurred while processing the 'testPowerPivot' table. The operation has been cancelled.
On the SQL Server I ran a profiler and got the follwoing:
exec [DataRefresh].[AddRunDetails] @RunID=54,@DataSourceID=N'3b4d4c28-909c-47d3-b4d6-07684f5e2ee9',@FriendlyName=N'DataFeed mywebapp.domain.local TestPowerPivotDataFeed',@Source=N'http://portal.gonzofish.local',@Provider=N'Microsoft.Data.DataFeedClient',@Catalog=N'dev/scrum/Data Feed Library/TestPowerPivotDataFeed.atomsvc',@ConnectionString=N'Data Source=http://mywebapp.domain.local/dev/sc/Data%20Feed%20Library/TestPowerPivotDataFeed.atomsvc;Integrated Security=SSPI;Persist Security Info=false;Namespaces to Include=*;Service Document Url=http://mywebapp.domain.local/dev/sc/Data%20Feed%20Library/TestPowerPivotDataFeed.atomsvc',@Result=N'F',@RunStartTime='2014-06-04 15:33:04.590',@RunEndTime='2014-06-04 15:33:04.727',@Comments=N'Errors in the high-level relational engine. The following exception occurred while the managed IDbConnection interface was being used: The remote server returned an error: (401) Unauthorized..
A connection could not be made to the data source with the DataSourceID of ''3b4d4c28-909c-47d3-b4d6-07684f5e2ee9'', Name of ''DataFeed mywebapp.domain.local TestPowerPivotDataFeed''.
An error occurred while processing the ''testPowerPivot'' table.
The operation has been cancelled.
I followed the link http://technet.microsoft.com/en-us/library/hh487291%28v=office.14%29.aspx to set up the Data Refresh for the PowerPivot.
Thanks in advance.
The error message shows that the account didn't have sufficient permission access to the data source(SharePoint List data feed). PowerPivot data refresh is performed by Analysis Services server instances in the SharePoint farm, we may need to grant the account running SQL Server Analysis Services (POWERPIVOT) Read permissions to the SharePoint list we are attempting to refresh.
In addition, the external data sources that are accessed during data refresh must be available and the credentials you specify in the schedule must have permission to access those data sources.
For more information, please take a look at the following article:
Schedule a Data Refresh: http://technet.microsoft.com/en-us/library/ee210651(v=sql.110).aspx
Hope this helps.
TechNet Community Support