Hi
I added 'What's New' web part for a user but when he tried to access his 'My Site' he was getting the following error:
Error
An unexpected error has occurred.
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: 22d8a706-daf9-4af3-bea8-xxxxxxxx
Date and Time: 6/11/2013 6:36:29 AM
In logs, i found the following error logged:
Unhandled exception caught during execution of Microsoft.SharePoint.Portal.PageBase::ErrorHandler(). Exception information: Exception information: Microsoft.Office.Server.ActivityFeed.InvalidTemplateVariableException: get ---> System.InvalidOperationException: There is an error in XML document (21, -1). ---> System.Xml.XmlException: ' ', hexadecimal value 0x10, is an invalid character. Line 21, position -1. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Int32 pos, Char invChar) at System.Xml.XmlTextReaderImpl.ParseNumericCharRefInline(Int32 startPos, Boolean expand, BufferBuilder internalSubsetBuilder, Int32& charCount, EntityType& entityType) at System.Xml.XmlTextReaderImpl.ParseCharRefInline(Int32 startPos, Int32& charCount, EntityType& entityType) at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars) at System.Xml.XmlTextReaderImpl.ParseText() at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.XmlReader.ReadElementString() at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderActivityTemplateVariable.Read5_ActivityTemplateVariable(Boolean isNullable, Boolean checkType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderActivityTemplateVariable.Read6_ActivityTemplateVariable() --- End of inner exception stack trace --- at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream) at Microsoft.Office.Server.ActivityFeed.ActivityEvent.get_ATV() --- End of inner exception stack trace --- at Microsoft.Office.Server.ActivityFeed.ActivityEvent.get_ATV() at Microsoft.Office.Server.ActivityFeed.ActivityEventsCollection.Populate(Boolean fSkipSecurityTrim) at Microsoft.Office.Server.ActivityFeed.ActivityEventsCollection..ctor(ActivityManager objManager, Int64 publisherEntityId, Boolean isPublished, DateTime minEventTime, Int32 maxEvents) at Microsoft.Office.Server.ActivityFeed.ActivityManager.GetActivitiesForMe(DateTime minEventTime, Int32 maxEvents) at Microsoft.Office.Server.ActivityFeed.ActivityManager.GetActivitiesForMe(Int32 maxEvents) at Microsoft.SharePoint.Portal.WebControls.ConsolidatedNewsFeedWebPart.OnPreRender(Object sender, EventArgs e) at System.Web.UI.Control.OnPreRender(EventArgs e) at Microsoft.SharePoint.WebPartPages.WebPart.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint); Inner exception: System.InvalidOperationException: There is an error in XML document (21, -1). ---> System.Xml.XmlException: ' ', hexadecimal value 0x10, is an invalid character. Line 21, position -1. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Int32 pos, Char invChar) at System.Xml.XmlTextReaderImpl.ParseNumericCharRefInline(Int32 startPos, Boolean expand, BufferBuilder internalSubsetBuilder, Int32& charCount, EntityType& entityType) at System.Xml.XmlTextReaderImpl.ParseCharRefInline(Int32 startPos, Int32& charCount, EntityType& entityType) at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars) at System.Xml.XmlTextReaderImpl.ParseText() at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.XmlReader.ReadElementString() at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderActivityTemplateVariable.Read5_ActivityTemplateVariable(Boolean isNullable, Boolean checkType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderActivityTemplateVariable.Read6_ActivityTemplateVariable() --- End of inner exception stack trace --- at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream) at Microsoft.Office.Server.ActivityFeed.ActivityEvent.get_ATV(); Inner exception: System.Xml.XmlException: ' ', hexadecimal value 0x10, is an invalid character. Line 21, position -1. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Int32 pos, Char invChar) at System.Xml.XmlTextReaderImpl.ParseNumericCharRefInline(Int32 startPos, Boolean expand, BufferBuilder internalSubsetBuilder, Int32& charCount, EntityType& entityType) at System.Xml.XmlTextReaderImpl.ParseCharRefInline(Int32 startPos, Int32& charCount, EntityType& entityType) at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars) at System.Xml.XmlTextReaderImpl.ParseText() at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.XmlReader.ReadElementString() at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderActivityTemplateVariable.Read5_ActivityTemplateVariable(Boolean isNullable, Boolean checkType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderActivityTemplateVariable Read6_ActivityTemplateVariable()
Can someone please help in resolving this issue?