Web part controls don't work after sites are migrated to SharePoint Server 2016


After you migrate the sites on Microsoft SharePoint Server 2013 to SharePoint Server 2016, the following web part controls no longer work on the migrated sites:

  • SpListFilterWebPart
  • ExcelWebRenderer
  • ReportViewerWebpart


These web part controls were replaced by new versions in SharePoint Server 2016.


To resolve this issue, use one of the following methods.

Method 1

Delete the web part controls and then reinsert them.

Method 2 Mark the web part controls as safe controls

To do this, add the following entries in the web.config file for the migrated Web Apps.


Add the following entry to the SafeControls section:

<SafeControl Assembly="Microsoft.SharePoint.Portal, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint.Portal.WebControls" TypeName="SpListFilterWebPart" Safe="True" />   


Add the following entry to the assemblyBinding section of the web.config file:

 <assemblyIdentity name="Microsoft.Office.Excel.WebUI" publicKeyToken="71e9bce111e9429c" />   
 <!-- Assembly versions can be redirected in application, publisher policy, or machine configuration files. -->   
 <bindingRedirect oldVersion="" newVersion=""/>   


Add the following entry to the SafeControls section:

<SafeControl Assembly="Microsoft.ReportingServices.SharePoint.UI.WebParts, Version=, Culture=neutral, PublicKeyToken=89845dcd8080cc91" Namespace="Microsoft.ReportingServices.SharePoint.UI.WebParts" TypeName="*" Safe="True" />

More information

Still need help? Go to SharePoint Community.