title | description | author | ms.author | ms.reviewer | ms.date | ms.service | ms.topic | monikerRange |
---|---|---|---|---|---|---|---|---|
Upgrade Power Pivot for SharePoint |
Upgrade Power Pivot for SharePoint |
kfollis |
kfollis |
maghan |
10/17/2022 |
sql |
upgrade-and-migration-article |
>=sql-server-2016 |
[!INCLUDE SQL Server -Windows Only]
This article summarizes the steps required to upgrade a deployment of [!INCLUDEpower-pivot-sharepoint-md] to [!INCLUDEpower-pivot-2016-sharepoint-md]. The specific steps depend on the version of SharePoint your environment is currently running and include the [!INCLUDEpower-pivot-md] for SharePoint Add-in (spPowerPivot.msi).
[!INCLUDEapplies] SharePoint 2010 | SharePoint 2013
For release notes, see SQL Server 2016 Release Notes.
In this article:
Upgrade an Existing SharePoint 2013 Farm
Upgrade an Existing SharePoint 2010 Farm
Verify the Versions of Power Pivot Components and Services
Upgrading Multiple Power Pivot for SharePoint Servers in a SharePoint Farm
Applying a QFE to a Power Pivot instance in the farm
Post-upgrade verification tasks
-
If you're upgrading a multi-server SharePoint 2010 farm that has two or more [!INCLUDEpower-pivot-sharepoint-md] instances, you must fully upgrade each server before continuing to the next server. A full upgrade includes running SQL Server Setup to upgrade [!INCLUDEpower-pivot-sharepoint-md] program files, followed by SharePoint upgrade actions that configure the upgraded services. Server availability will be limited until you run upgrade actions in the appropriate [!INCLUDEpower-pivot-md] Configuration Tool or Windows PowerShell.
-
All instances of [!INCLUDEpower-pivot-md] System Service and Analysis Services in a SharePoint 2010 farm must be the same version. For information on how to verify the version, see the section Verify the Versions of Power Pivot Components and Services in this article.
-
The [!INCLUDEpower-pivot-md] configuration tools are one of the SQL Server shared features and all shared features upgrade at the same time. If during an upgrade process you select other SQL Server instances or features that require a shared feature upgrade, then the [!INCLUDEpower-pivot-md] configuration tool will also be upgraded. You may have issues if the [!INCLUDEpower-pivot-md] configuration tool is upgraded but your [!INCLUDEpower-pivot-md] instance isn't. For more information about SQL Server shared features, see Upgrade to SQL Server 2016 Using the Installation Wizard (Setup).
-
The [!INCLUDEpower-pivot-md] for SharePoint Add-in (spPowerPivot.msi) installs side by side with previous versions. For example, the add-in installs to the folder
c:\Program Files\Microsoft SQL Server\nnn\Tools\PowerPivotTools
. See File locations for information about SQL Server installation files.
Permissions
-
You must be a farm administrator to upgrade a [!INCLUDEpower-pivot-md] for SharePoint installation. You must be a local administrator to run SQL Server Setup.
-
You must have db_owner permissions on the farm configuration database.
SQL Server:
-
If the existing [!INCLUDEpower-pivot-md] installation is [!INCLUDEsql2008r2], the [!INCLUDEsql2008r2] Service Pack 2 (SP2) is required for an upgrade to [!INCLUDEssnoversion] [!INCLUDEpower-pivot-sharepoint-md].
-
If the existing [!INCLUDEpower-pivot-md] installation is [!INCLUDEssSQL11], the [!INCLUDEssSQL11] Service Pack 1 (SP1) is required for an upgrade to [!INCLUDEssnoversion] [!INCLUDEpower-pivot-sharepoint-md].
SharePoint 2010:
- If the existing installation is running SharePoint 2010, install the SharePoint 2010 Service Pack 2 before upgrading to [!INCLUDEssnoversion] [!INCLUDEpower-pivot-sharepoint-md]. For more information, see Service Pack 2 for Microsoft SharePoint 2010. Use the PowerShell command
(Get-SPfarm).BuildVersion.ToString()
to verify the version. To reference the build version to release date, see SharePoint 2010 Build Numbers.
To upgrade [!INCLUDEpower-pivot-sharepoint-md] deployed in SharePoint 2013, do the following:
:::image type="content" source="media/upgrade-power-pivot-for-sharepoint/as-power-pivot-upgrade-flow-sharepoint-2013.png" alt-text="Powerpivot for sharepoint 2013 upgrade.":::
-
Run [!INCLUDEssnoversion] Setup on backend server(s) that run [!INCLUDEssASnoversion] in SharePoint mode. If the server hosts multiple instances of [!INCLUDEssASnoversion], upgrade at least the POWERPIVOT instance. The following list is a summary of setup wizard steps related to a [!INCLUDEpower-pivot-md] upgrade:
-
In the [!INCLUDEssNoVersion] Setup Wizard, select Installation.
-
Select Upgrade from SQL Server......
-
On the Select Instance page, select the POWERPIVOT instance name and then select Next.
-
For more information, see Upgrade to SQL Server 2016 Using the Installation Wizard (Setup)
-
-
Restart the server.
-
Run the [!INCLUDEpower-pivot-md] for SharePoint add-in (spPowerPivot.msi) on each server in the SharePoint 2013 farm to install the data providers. The exception is servers where you ran the SQL Server setup wizard, which also upgrades data providers. For more information, see Download Microsoft SQL Server 2014 Power Pivot for Microsoft SharePoint 2013 and Install or Uninstall the Power Pivot for SharePoint Add-in (SharePoint 2013).
-
Run the [!INCLUDEpower-pivot-md] for SharePoint 2013 Configuration tool on one of the SharePoint application servers to configure the SharePoint farm with the updated solution files that the add-in installed. You can't use Central SharePoint Administration for this step. For more information, see the following:
-
From the Windows Start page, type [!INCLUDEpower-pivot-md] and in the search results, select [!INCLUDEpower-pivot-md] for SharePoint 2013 Configuration. Note the search may return both versions of the configuration tool.
:::image type="content" source="/analysis-services/analysis-services/instances/install-windows/media/as-powerpivot-configtools-bothicons.gif" alt-text="Two powerpivot configuration tools.":::
Or
On the Start menu, point to All Programs, select [!INCLUDEssCurrentUI], select Configuration Tools, and then select [!INCLUDEpower-pivot-md] for SharePoint 2013 Configuration Too. This tool is listed only when [!INCLUDEpower-pivot-sharepoint-md] is installed on the local server.
-
At startup, the configuration tool checks the upgrade status of the [!INCLUDEpower-pivot-md] farm solution and [!INCLUDEpower-pivot-md] web application solutions. If older versions of these solutions are detected, you'll see the message "Newer versions of the [!INCLUDEpower-pivot-md] solution files have been detected. Please select the upgrade option to upgrade your farm." Select OK to close the system validation message.
-
Select Upgrade Features, Services, Applications and Solutions, and then select OK.
-
Review the actions in the left pane task list and exclude any that you don't want the tool to perform. All actions are included by default. To remove an action, select it in the left task list, and then on the Parameters page, clear the Include this action in the task list checkbox.
-
Optionally, review detailed information in the Script or Output tab.
The Output tab is a summary of the actions that will be performed by the tool. This information is saved in log files at
C:\Program Files\Microsoft SQL Server\130\Tools\PowerPivotTools\SPAddinConfiguration\Log
.The Script tab shows the PowerShell cmdlets or references the PowerShell script files that the tool will run.
-
Select Validate to check whether each action is valid. If Validate isn't available, it means that all of the actions are valid for your system. If Validate is available, you might have modified an input value (for example, the Excel service application name), or the tool might have determined that a particular action can't be performed. If an action can't be performed, you must exclude it or fix the underlying conditions that cause the action to be flagged as invalid.
[!IMPORTANT]
The first action, Upgrade Farm Solution, must always be processed first. It registers the PowerShell cmdlets that are used to configure the server. If you get an error on this action, do not continue. Instead, use the information provided by the error to diagnose and resolve the problem before processing additional actions in the task list. -
Select Run to perform all of the actions that are valid for this task. Run is available only after the validation check is passed. When you select Run, the following warning appears, reminding you that actions are processed in batch mode: "All of the configuration settings that are flagged as valid in the tool will be applied to the SharePoint farm. Do you want to continue?"
-
Select Yes to continue.
-
Upgrading solutions and features in the farm can take several minutes to complete. During this time, connection requests for [!INCLUDEpower-pivot-md] data will fail with errors similar to "Unable to refresh data" or "An error has occurred trying to perform the requested action. Please try again." After upgrade is finished, the server will become available, and these errors will no longer occur.
For more information, see the following:
-
-
Verify that upgrade succeeded by performing the post-upgrade steps and by checking the version of [!INCLUDEpower-pivot-md] servers in the farm. For more information, see Post-upgrade verification tasks in this article and the following section.
To upgrade [!INCLUDEpower-pivot-sharepoint-md] deployed in SharePoint 2010, do the following:
:::image type="content" source="media/upgrade-power-pivot-for-sharepoint/as-power-pivot-upgrade-flow-sharepoint-2010.png" alt-text="Powerpivot for Sharepoint 2010 upgrade.":::
-
Download Service Pack 2 for Microsoft SharePoint 2010 and apply it on all servers in the farm. Verify that SharePoint SP2 installation succeeded. In Central Administration, on the Upgrade and Migration page, open the Check product and patch installation status page to view status messages related to SP2.
-
Verify that the SharePoint 2010 Administration Windows service is running.
Get-Service | where {$_.displayname -like "*SharePoint*"}
-
Verify the SharePoint services SQL Server Analysis Services and SQL Server [!INCLUDEpower-pivot-md] System Service are started in SharePoint Central Administration or use the following PowerShell command:
get-SPserviceinstance | where {$_.typename -like "*sql*"}
-
Verify the Windows service SQL Server Analysis Services ([!INCLUDEpower-pivot-md]) is running.
Get-Service | where {$_.displayname -like "*powerpivot*"}
-
Run [!INCLUDEssnoversion] Setup on the first SharePoint application server that runs the SQL Server Analysis Services ([!INCLUDEpower-pivot-md]) Windows service to upgrade the POWERPIVOT instance. On the Installation page of the SQL Server Setup Wizard, choose the upgrade option. For more information, see Upgrade to SQL Server 2016 Using the Installation Wizard (Setup).
-
Restart the server before running the configuration tool. This step ensures that any updates or prerequisites installed by SQL Server Setup are fully configured on the system.
-
Run the [!INCLUDEpower-pivot-md] Configuration Tool on the first SharePoint application server that runs SQL Server Analysis Services ([!INCLUDEpower-pivot-md]) service to upgrade the solutions and Web services in SharePoint. You can't use Central Administration for this step.
-
On the Start menu, point to All Programs, select [!INCLUDEssCurrentUI], select Configuration Tools, and then select [!INCLUDEpower-pivot-md] Configuration Tool. This tool is listed only when [!INCLUDEpower-pivot-sharepoint-md] is installed on the local server.
-
At startup, the configuration tool checks the upgrade status of the [!INCLUDEpower-pivot-md] farm solution and [!INCLUDEpower-pivot-md] web application solutions. If older versions of these solutions are detected, you'll see the message "Newer versions of the [!INCLUDEpower-pivot-md] solution files have been detected. elect the upgrade option to upgrade your farm." Select OK to close the message.
-
Select Upgrade Features, Services, Applications and Solutions, and then select OK to continue.
-
The following warning appears: "Workbooks in the [!INCLUDEpower-pivot-md] Management Dashboard are about to be upgraded to the latest version. Any customizations you made to the existing workbooks will be lost. Do you want to continue?"
This warning refers to workbooks in the [!INCLUDEpower-pivot-md] Management Dashboard that report on data refresh activity. If you customized these workbooks, any changes you made to those workbooks will be lost when existing files are replaced with newer versions.
Select Yes to overwrite the workbooks with newer versions. Otherwise,select No to return to the home page. Save the workbooks to a different location so that you have a copy, and then return to this step when you're ready to continue.
For more information about customizing workbooks used in the dashboard, see Customizing the Power Pivot Management Dashboard.
-
Review the actions in the task list and exclude any that you don't want the tool to perform. All actions are included by default. To remove an action, select it in the task list, and then clear the Include this action in the task list checkbox on the Parameters page.
-
Optionally, review detailed information in the Output tab or Script tab.
The Output tab is a summary of the actions that will be performed by the tool. This information is saved in log files at
c:\Program Files\Microsoft SQL Server\130\Tools\PowerPivotTools\ConfigurationTool\Log
.The Script tab shows the PowerShell cmdlets or references the PowerShell script files that the tool will run.
-
Select Validate to check whether each action is valid. If Validate isn't available, it means that all of the actions are valid for your system. If Validate is available, you might have modified an input value (for example, the Excel service application name), or the tool might have determined that a particular action can't be performed. If an action can't be performed, you must exclude it or fix the underlying conditions that cause the action to be flagged as invalid.
[!IMPORTANT]
The first action, Upgrade Farm Solution, must always be processed first. It registers the PowerShell cmdlets that are used to configure the server. If you get an error on this action, do not continue. Instead, use the information provided by the error to diagnose and resolve the problem before processing additional actions in the task list. -
Select Run to perform all of the actions that are valid for this task. Run is available only after the validation check is passed. When you select Run, the following warning appears, reminding you that actions are processed in batch mode: "All of the configuration settings that are flagged as valid in the tool will be applied to the SharePoint farm. Do you want to continue?"
-
Select Yes to continue.
-
Upgrading solutions and features in the farm can take several minutes to complete. During this time, connection requests for [!INCLUDEpower-pivot-md] data will fail with errors like "Unable to refresh data" or "An error has occurred trying to perform the requested action. Try again." After upgrade is finished, the server will become available, and these errors will no longer occur.
-
-
Repeat the process for each SQL Server Analysis Services ([!INCLUDEpower-pivot-md]) service in the farm: 1) Run SQL Server setup 2) Run the [!INCLUDEpower-pivot-md] Configuration tool.
-
Verify that upgrade succeeded by performing the post-upgrade steps and by checking the version of [!INCLUDEpower-pivot-md] servers in the farm. For more information, see Post-upgrade verification tasks in this article and the following section.
-
Troubleshooting errors
You can view error information in the Parameters pane for each action.
For problems related to solution deployment or retraction, verify the SharePoint 2010 Administrator service is started. This service runs the timer jobs that trigger configuration changes in a farm. If the service isn't running, solution deployment or retraction will fail. Persistent errors indicate that an existing deployment or retraction job is already in the queue and blocking further action from the configuration tool.
-
Start the SharePoint 2010 Management Shell as an administrator and then run the following command to view jobs in the queue:
Stsadm -o enumdeployments
-
Review existing deployments for the following information: Type is Retraction or Deployment, File is powerpivotwebapp.wsp or powerpivotfarm.wsp.
-
For deployments or retractions related to [!INCLUDEpower-pivot-md] solutions, copy the GUID value for JobId and then paste it into the following command (use the Mark, Copy, and Paste commands on the Shell's Edit menu to copy the GUID):
Stsadm -o canceldeployment -id "<GUID>"
-
Retry the task in the configuration tool by selecting Validate followed by Run.
For all other errors, check the ULS logs. For more information, see Configure and View SharePoint Log Files and Diagnostic Logging (Power Pivot for SharePoint).
-
Upgrading a server doesn't necessarily upgrade the [!INCLUDEpower-pivot-md] workbooks that run on it, but older workbooks created in the previous version of [!INCLUDEpower-pivot-md] for Excel will continue to work as before, using the features available in that release. Workbooks remain functional because an upgraded server has the version of the Analysis Services OLE DB provider that was part of the previous installation.
Upgrade will impact data refresh operations. Scheduled data refresh on the server is available only for workbooks that match the server version. If you're hosting workbooks from the previous version, data refresh might no longer work for those workbooks. To re-enable data refresh, you must upgrade the workbooks. You can upgrade each workbook manually in [!INCLUDEpower-pivot-md] for Excel, or enable the auto-upgrade for data refresh feature in SharePoint 2010. Auto-upgrade will upgrade a workbook to the current version prior to running data refresh, allowing data refresh operations to remain on schedule.
All instances of [!INCLUDEpower-pivot-md] System Service and Analysis Services must be the same version. To verify that all server components are at the same version, check version information for the following:
Run the following PowerShell command:
Get-PowerPivotSystemService
Verify the CurrentSolutionVersion. [!INCLUDEssnoversion] is version 13.0.<major build>.<minor build>
If you upgraded only some of your [!INCLUDEpower-pivot-sharepoint-md] servers in a SharePoint 2010 farm, the instance of [!INCLUDEssASnoversion] on unupgraded servers will be older than the version expected in the farm. You'll need to upgrade all of your servers to the same version in order for them to be usable. Use one of the following methods to verify the version of the SQL Server Analysis Services ( [!INCLUDEpower-pivot-md]) Windows service on each computer.
Windows File Explorer:
-
Navigate to the Bin folder for the [!INCLUDEpower-pivot-md] instance. For example
C:\Program Files\Microsoft SQL Server\MSAS13.POWERPIVOT\OLAP\bin
. -
Right-click
msmdsrv.exe
, and select Properties. -
Select Details.
-
[!INCLUDEssnoversion] file version should be 13.00.<major build>.<minor build>.
-
Verify that this number is identical to the [!INCLUDEpower-pivot-md] solution and system service version.
Service start information:
When the [!INCLUDEpower-pivot-md] service starts, it writes version information into the Windows event log.
-
Run Windows
eventvwr
-
Create a filter for source
MSOLAP$POWERPIVOT
. -
Look for an information level event similar to the following
Service started. Microsoft SQL Server Analysis Services 64 Bit Evaluation (x64) RTM 13.0.2000.8.
Use PowerShell to verify file version.
You can use PowerShell to verify the product version. PowerShell is a good option if you want to script or automate version verification.
(get-childitem "C:\Program Files\Microsoft SQL Server\MSAS13.POWERPIVOT2000\OLAP\bin\msmdsrv.exe").VersionInfo
The above PowerShell command returns information similar to the following:
ProductVersion FileVersion FileName
13.0.2000.8 2016.0130.200 C:\Program Files\Microsoft SQL Server\MSAS13.POWERPIVOT2000\OLAP\bin\msmdsrv.exe
Use the following instructions to check which versions of the Analysis Services OLE DB providers are trusted by Excel Services. You must be a farm or service application administrator to check the trusted data provider settings of Excel Services.
-
In Central Administration, in Application Management, select Manage service applications.
-
Select the name of the Excel Services service application, for example ExcelServiceApp1.
-
Select Trusted Data Providers. You should see MSOLAP.5 (Microsoft OLE DB Provider for OLAP Services 11.0). If you upgraded your [!INCLUDEpower-pivot-sharepoint-md] installation, you'll also see MSOLAP.4 from the previous version.
-
For more information, see Add MSOLAP.5 as a Trusted Data Provider in Excel Services.
MSOLAP.4 is described as the Microsoft OLE DB Provider for OLAP Services 10.0. This version might be the default version from [!INCLUDEsql2008-md] that is installed with Excel Services, or it might be the [!INCLUDEsql2008r2] version. The default version that SharePoint installs doesn't support [!INCLUDEpower-pivot-md] data access. You must have the [!INCLUDEsql2008r2] version or later to connect to [!INCLUDEpower-pivot-md] workbooks on SharePoint. To verify you have the [!INCLUDEsql2008r2] version, use the instructions in the previous section that explain how to verify the version by viewing file properties.
Use the following instructions to check which version of ADOMD.NET is installed. You must be a farm or service application administrator to check the trusted data provider settings of Excel Services.
-
On your SharePoint application server, browse to
c:\Windows\Assembly
. -
Sort by assembly name and find the Microsoft.Analysis Services.Adomd.Client.
-
Verify you have version 13.0.<build number>.
In a multi-server topology that includes more than one [!INCLUDEpower-pivot-sharepoint-md] server, all server instances and components must be the same version. The server that runs the highest version of the software sets the level for all servers in the farm. If you upgrade just some of the servers, the ones that are running older versions of the software will become unavailable until they're also upgraded.
After you upgrade the first server, additional servers that aren't yet upgraded will become unavailable. Availability is restored after all servers run at the same level.
SQL Server Setup upgrades the [!INCLUDEpower-pivot-md] solution files in place on the physical computer, but to upgrade the solutions in use by the farm, you must use the [!INCLUDEpower-pivot-md] Configuration Tool described in a previous section of this article.
Patching a [!INCLUDEpower-pivot-md] for SharePoint server updates existing program files with a newer version that includes a fix for a specific problem. When applying a QFE to a multi-server topology, there's no primary server that you must begin with. You can start with any server as long as you apply the same QFE to the other [!INCLUDEpower-pivot-md] servers in the farm.
When you apply the QFE, you must also perform a configuration step that updates the server version information in the farm configuration database. The version of the patched server becomes the new expected version for the farm. Until the QFE is applied and configured across all machines, the [!INCLUDEpower-pivot-md] for SharePoint instances that don't have the QFE will be unavailable to handle requests for [!INCLUDEpower-pivot-md] data.
To ensure the QFE is applied and configured correctly, follow these instructions:
-
Install the patch using the instructions that are provided with the QFE.
-
Start the [!INCLUDEpower-pivot-md] Configuration Tool.
-
Select Upgrade Features, Services, Applications and Solutions, and then select OK.
-
Review the actions that are included in the upgrade task, and then select Validate.
-
Select Run to apply the actions.
-
Repeat for additional [!INCLUDEpower-pivot-md] for SharePoint instances in the farm.
[!IMPORTANT]
In a multi-server deployment, be sure to both patch and configure each instance before continuing to the next machine. The [!INCLUDEpower-pivot-md] Configuration Tool must complete the upgrade task for the current instance before you move on to the next instance.
To check version information for services in the farm, use the Check product and patch installation status page in the Upgrade and Patch Management section in Central Administration.
After upgrade is complete, use the following steps to verify the server is operational.
Task | Link |
---|---|
Verify the service is running on all computers that run [!INCLUDEpower-pivot-md] for SharePoint. | Start or Stop a Power Pivot for SharePoint Server |
Verify feature activation at the site collection level. | Activate Power Pivot Feature Integration for Site Collections in Central Administration |
Verify individual [!INCLUDEpower-pivot-md] workbooks are loading properly by opening a workbook and selecting on filters and slicers to initiate a query. | Check for the presence of cached files on the hard drive. A cached file confirms that the data file was loaded on that physical server. Look for cached files in the c:\Program Files\Microsoft SQL Server\MSAS13.POWERPIVOT\OLAP\Backup folder. |
Test data refresh on selected workbooks that are configured for data refresh. | The easiest way to test data refresh is to modify a data refresh schedule, choosing the Also refresh as soon as possible checkbox so that data refresh runs immediately. This step will determine whether data refresh is successful for the current workbook. Repeat these steps for other frequently used workbooks to ensure that data refresh is functional. For more information about scheduling data refresh, see Schedule a Data Refresh (Power Pivot for SharePoint). |
Over time, monitor the data refresh reports in [!INCLUDEpower-pivot-md] Management Dashboard to confirm there are no data refresh errors. | Power Pivot Management Dashboard and Usage Data |
For more information about how to configure [!INCLUDEpower-pivot-md] settings and features, see Power Pivot Server Administration and Configuration in Central Administration.
For step-by-step instructions that guide you through all of the post-installation configuration tasks, see Initial Configuration (Power Pivot for SharePoint).