BBNC: run time error editing a user record in BBNC

When editing a user record in BBNC, I get this error:
 

hexadecimal value 0x0B, is an invalid character. Line 1, position 429.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Xml.XmlException: ' ', hexadecimal value 0x0B, is an invalid character. Line 1, position 429.

Source Error:

 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:
 

[XmlException: '', hexadecimal value 0x0B, is an invalid character. Line 1, position 429.]
   System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) +163
   System.Xml.XmlTextReaderImpl.ParseNumericCharRefInline(Int32 startPos, Boolean expand, StringBuilder internalSubsetBuilder, Int32& charCount, EntityType& entityType) +905
   System.Xml.XmlTextReaderImpl.ParseCharRefInline(Int32 startPos, Int32& charCount, EntityType& entityType) +101
   System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars) +223
   System.Xml.XmlTextReaderImpl.ParseText() +109
   System.Xml.XmlTextReaderImpl.ParseElementContent() +39
   System.Xml.XmlReader.ReadElementString() +91
   Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read777_ResponseErrorHeader(Boolean isNullable, Boolean checkType) +2193
   Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read1078_Item() +281
   Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer375.Deserialize(XmlSerializationReader reader) +43
   System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) +579

[InvalidOperationException: There is an error in XML document (1, 429).]
   System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) +1377
   System.Web.Services.Protocols.SoapHeaderHandling.ReadHeaders(XmlReader reader, XmlSerializer serializer, SoapHeaderCollection headers, SoapHeaderMapping[] mappings, SoapHeaderDirection direction, String envelopeNS, String encodingStyle, Boolean checkRequiredHeaders) +996
   System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +812
   System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +345
   Blackbaud.Web.Content.Core.RE7Service.MasterService.GetConstitData(GetConstitDataArgs args) +77
   Blackbaud.Web.Content.Core.Data.ShelbyConstituent.GetConstituentFromRE(Int32 recordId) +252

[ApplicationException: Blackbaud NetCommunity Error - error loading constituent: There is an error in XML document (1, 429).]
   Blackbaud.Web.Content.Core.Data.ShelbyConstituent.GetConstituentFromRE(Int32 recordId) +1016
   Blackbaud.Web.Content.Core.Data.ShelbyConstituent.RELoadConstitData(Int32 recordId) +23
   Blackbaud.Web.Content.Core.Data.ShelbyConstituent..ctor(Int32 id, Boolean bypassPrivacy, Boolean bypassCache, Boolean forcePendingTransactionCheck, eBBSystemTypes bbsystem, eBBRecordTypes bbrecordType, Boolean bAssumeCurrentUser) +976
   Blackbaud.Web.Content.Core.User.get_Constituent(Boolean BypassPrivacy, Boolean ForcePendingProfileCheck) +304
   Blackbaud.Web.Content.Portal.UserEditor.BindDataConstit() +206
   Blackbaud.Web.Content.Portal.UserEditor.LoadData() +1020
   Blackbaud.Web.Content.Portal.UserEditor.Page_Load(Object sender, EventArgs e) +94
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3064
There is an invalid character in the record associated with that user. Open the record in RE, locate the invalid character and either remove it or replace it.

Examples:
A single attribute had ∞ separating the information and not -.

Verify a School Name is present and no invalid characters are added for the Education/Schools Relationship:
  1. Open the constituent record
  2. Select the relationships tab
  3. Click Education/Schools
  4. Double click relationship record(s)
  5. Add a School Name if it is blank and Save the record
  6. Click the Attributes/Notes tab
  7. Remove the invalid character the Notes section

Environment

 6.45, patch 23

Was this article helpful?