Applies to: SQL Server 2008 R2 and SQL Server 2012
This article consists of troubleshooting tips and techniques for working through PowerPivot data refresh problems in SharePoint.
In SharePoint, look in the PowerPivot data refresh history page of the workbook. In a document library, click Manage Data refresh to open the data refresh history page. See View PowerPivot Data Refresh history.
In Central Administration, look in PowerPivot Management dashboard (admins only). See PowerPivot Management Dashboard.
In Central Administration, look in the health rules and reporting page. Health rules alert you to problems with server configuration or availability.
On the server, look in ULS logs (admins only). See View ULS Log Files. ULS logs will show access denied errors if the PowerPivot System Service cannot connect to the remote server that provides the data. If you are using a ULS Viewer, filter on PowerPivot service in the Area column, Data Refresh in the Category column, and High in the Level column. If you are using Notepad, copy the Correlation ID from the SharePoint error message and use it as a search term in the ULS log.
Secure Store Service audit log. Logging is enabled by default. You should be able to use the audit log to gather information about the success or failure of requests to use a particular target application. For more information, see Configure Secure Store Service (SharePoint 2010).
SQL Server Profiler, connected to the Analysis Services instance that is part of a PowerPivot for SharePoint installation, and then run data refresh. If the failure occurs during data processing (i.e., the external data source no longer contains a table or no longer uses the same table names), you will see the error in the trace.
Check the PowerPivot Data refresh timer job in Central Administration to ensure it is running. It should be configured to run every minute.
If data refresh is failing across the board, check the following accounts: PowerPivot service application (the service will be stopped in SharePoint), the Analysis Services instance (the service will be stopped). If data refresh is failing for just some workbooks, check the account used to run data refresh (unattended data refresh account, user account, other stored account), and then check the service account of the remote database servers that provide the data. Verify the account used to run the data refresh job has Contribute permission on the workbook. This account is specified in the Credentials section of the data refresh scheduling page. It will be one of the following: unattended data refresh account, account of the person who set up the schedule, an account associated with a target application in Secure Store Service. Verify the account used to run the data refresh job has read permissions on the data source.Verify the account is the same domain or a trusted domain, and that neither the account nor it’s password are expired.Verify the account password has not expired.Check the external database that PowerPivot is trying to reach. Is it online at the same location; are permissions used to access the database still valid. You can verify by performing a manual data refresh on the workbook in Excel. If structures within the database have changed (i.e., a table was deleted or renamed), you might get better information by testing in the client application.
Issue: Cannot Locate a server to load a workbook.
When you attempt to manage the refresh schedule of a workbook, you see an error message similar to the following: “We cannot locate a server to load the workbook Data Model.”For example, you navigate to the document library containing the workbooks. You open the context menu of a workbook and click Manage PowerPivot Data Refresh.
“We cannot locate a server to load the workbook Data Model.”
Workaround: Review the following possible causes or actions you can perform:
The Excel Services Application is not configured to use a Analysis Services sever in SharePoint mode. Review the Data Model Settings of the Excel Services application in SharePoint Central Administration.
Verify that the service account used for your Excel Services Application is an Analysis Services administrator.
Review the ULS log file, after you configure the Excel Service Application for verbose logging, in the Diagnostic logging section of SharePoint Central Administration.
Error: “The data connection uses Windows authentication and user credentials could not be delegated”. For resolution, see this post from Lee Graber on the PowerPivot Twins web site. In addition, here is the link to the official error message help topic; it’s not as detailed as Lee’s post, but that can sometimes be a good thing."OLE DB or ODBC error: Login failed for user '<username>'; 28000; Cannot open database "<databasename>" requested by the login. The login failed.; 42000. A connection could not be made to the data source with the DataSourceID of '<datasourceidentifier>', name of "<datasourcename>". An error occurred while processing the "<tablename>" table. The current operation was cancelled because another operation in the transaction failed."
This error appears in the data refresh history page when the server could not connect to external data sources on remote servers. Either the account used to run data refresh, or the data source credentials specified in the schedule, does not have read permissions on the data source. To resolve this issue, grant the account read permissions and retry data refresh.
You configured the PowerPivot unattended data refresh account, but now data refresh is failing. Check for these possible conditions:
In a data refresh operation, the Analysis Services instance (not the PowerPivot System Service) requests the data from external data sources. Connections are made by the Analysis Services instance on behalf of a user. Analysis Services impersonates the current user who ran the data refresh job (either the PowerPivot unattended account or a Windows user), or it passes credentials on the connection string (but only if the data refresh schedule includes credential information for connecting to external data sources). The user name and account that is passed to the external database server must have a database login on that server.
All data sources that are specified in the schedule must succeed, or the data refresh job will fail. For example, suppose your PowerPivot workbook retrieves data from 3 different data sources but one of them is offline, in this case data refresh will fail, even though the other 2 sources could be accessed successfully.
If data refresh jobs are timing out before they complete, there are some things you can do to increase the capacity of data refresh operations. You can install an additional PowerPivot for SharePoint server in the farm. Alternatively, if your application server has sufficient RAM and multiple CPUs, you can increase the number of data refresh jobs that will run in parallel on the server. The default is calculated based on RAM. The maximum value that you can raise it to is determined by the number of CPUs (i.e., if you have 4 CPUs, you can increase the maximum concurrent data refresh jobs to 4). For more information, see http://technet.microsoft.com/en-gb/library/ee637268(SQL.110).aspx.
PowerPivotGeek data refresh category
Dan English’s BI Blog entry on PowerPivot data refresh
Everything You Always Wanted to Know About PowerPivot Data Refresh but Were Afraid to Ask
Enable and Configure Data Refresh
Configure and Use PowerPivot Unattended Data Refresh Account
Configure and Use Stored Credentials for PowerPivot Data Refresh
Schedule PowerPivot Data Refresh
PowerPivot Data refresh page on the Analysis Services team blog