This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Flexera Community
- :
- App Broker
- :
- App Broker Knowledge Base
- :
- XML Parsing Error Causes DataSync to Fail
Subscribe
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
XML Parsing Error Causes DataSync to Fail
XML Parsing Error Causes DataSync to Fail
Summary
If the asset being imported contains an ampersand in the name, an XML parsing error is thrown and the DataSync failsSymptoms
Not all users and computers get imported within App Portal and the DataSync.log file shows the following exception:Error getting computer table template XML parsing: line 1, character 136, semicolon expected at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
Cause
Having an ampersand character '&' in either the computer or the user name causes the above XML parsing exception to be thrown. This is turn causes the data sync import process to fail.Resolution
This issue has been fixed in App Portal 2016 Service Pack 1 release.Workaround
To workaround the issue, the ampersand character in the machine or user name can be replaced to allow the import to finish successfully.The other alternative is to use a custom sync query that does not import machine or user names with the ampersand character e.g The following SQL query can be used for a Custom Device Sync Query:
select vrs.ResourceID from v_R_System vrs where vrs.Netbios_Name0 not like '%&%' order by vrs.Netbios_Name0
Additional Information
This issue was being tracked under bug issue #IOJ-1780781
No ratings