Microsoft SharePoint applications may encounter errors while executing web parts

Article translations Article translations
Article ID: 2872441
August 13, 2013 This article has been updated. We recommend that you apply the updated security update mentioned in the "Resolution" section.
Expand all | Collapse all

On This Page


You may receive the following exception while executing web parts in Microsoft SharePoint applications:
Error while executing web part: System.NullReferenceException: Object reference not set to an instance of an object.
at System.Xml.Xsl.XslCompiledTransform.Load(MethodInfo executeMethod, Byte[] queryData, Type[] earlyBoundTypes)
at Microsoft.Xslt.STransform.GetCompiledTransform()
at Microsoft.SharePoint.WebPartPages.BaseXsltListWebPart.LoadXslCompiledTransform(WSSXmlUrlResolver someXmlResolver)
at Microsoft.SharePoint.WebPartPages.DataFormWebPart.GetXslCompiledTransform()
at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform)


This problem occurs because of a functional issue in the .NET Framework 3.5.1.


To resolve this problem, apply the updated security update 2844286.

Applies to

This article applies to the following:
  • Microsoft .NET Framework 3.5.1 when used with:
    • Windows 7 Service Pack 1
    • Windows Server 2008 R2 Service Pack 1


Article ID: 2872441 - Last Review: August 13, 2013 - Revision: 4.0
atdownload kbfix kbqfe KB2872441

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from