Microsoft SharePoint applications may encounter errors while executing web parts

August 13, 2013 This article has been updated. We recommend that you apply the updated security update mentioned in the "Resolution" section.

Symptoms

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)

Cause

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

Resolution

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
Properties

Article ID: 2872441 - Last Review: Aug 13, 2013 - Revision: 1

Feedback