System.Xml error in PeopleUpdate and PeopleSearch

System.Xml error in PeopleUpdate and PeopleSearch

You might see the following error in your PeopleUpdate error log and note that PeopleUpdate will not query Active Directory properly in this situation.

Exception occurred in System.Xml: '<', hexadecimal value 0x3C, is an invalid attribute character.

There are times that invalid hidden characters can get into one of the XML configuration files for PeopleUpdate and cause problems. To fix this, open each of the following files using a pure text editor like Notepad++ or TextPad to check for UTF-encoded extra characters. Do not use Notepad as it will not show all characters.

XML Files to Check

Check each of the following files in the PeopleUpdate root directory typically located at %Program Files%\WebActiveDirectory\PeopleUpdate\Configuration. You need to look for invalid hidden characters that might sneak into the file if you have modified the file directly, especially when copying and pasting from a web page or email. When you locate an invalid character, remove it and save the file then try running PeopleUpdate again to ensure the Active Directory binds work and the error goes away.

•WebADConfiguration.xml

•LdapConfiguration.xml

•Iso3166-1List_en.xml

•WebADLocalizationTemplate.xml

    • Related Articles

    • Deserializing error in PeopleUpdate

      You might see the following error in your event log for PeopleUpdate. Application Error A critical application error occurred that could not be handled by the system. Please report the following information to your system administrator. Error ...
    • Using PeopleSearch and PeopleUpdate with SharePoint

      You can set up an integration for PeopleSearch and PeopleUpdate with your WSS or SPP SharePoint environment. Web Active Directory supports SharePoint integration using the Page Viewer Web Part available in WSS/SPP to expose PeopleSearch and ...
    • Constraint Error Trying to Update an Attribute Value in PeopleUpdate

      When trying to update an attribute on the PeopleUpdate Edit page, you may encounter an error similar to the following. The application page will say “Could not update the entry data. Please consult your system administrator for assistance” while the ...
    • Migrate PeopleUpdate or PeopleSearch to a New Server

      You might need to migrate PeopleUpdate or PepleSearch to a new server for a number of reasons. In general, the migration process is very simple and just follow the guidelines below for a successful migration.  1.  Download the proper version of ...
    • What Source Properties Can I Use in the CurrentUser Context of PeopleSearch and PeopleUpdate?

      PeopleSearch and PeopleUpdate allow for an extremely powerful way of dynamically displaying data depending on the user who is logged into the application. For example, it’s fairly straightforward to create a tab called “Groups I Manage” then set up ...