Sharepoint list view web part error after upgrade

Likki 1 Reputation point
2020-07-31T00:59:48.903+00:00

hi we upgraded to 2016 from sp 2010. our pages have list view webparts with XSL files linked to them.

we receive error on all list view pages and ULS has the below error. any idea what needs to be added to fix ..

any help is appreciated.

sharepoint 2016 Error while executing web part: System.Xml.Xsl.XslLoadException: XSLT compile error. An error occurred at (0,0). ---> System.Xml.XmlException: DTD is prohibited in this XML document

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,370 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,810 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MichaelHan-MSFT 18,036 Reputation points
    2020-07-31T03:02:38.097+00:00

    From the error message, looks like the web part failed to load the linked XSL files. You could try to remove this xls file link by editing the web part, check if it work for you.

    Also, there might be so many reasons that the migrated content won't work as expected from SharePoint 2010 to SharePoint 2016 because there are so many features which got deprecated from 2010 to 2016. The best way is to delete these issued web parts, then re-add them in SharePoint 2016.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.