The Community is now in read-only mode to prepare for the launch of the new Flexera Community. During this time, you will be unable to register, log in, or access customer resources. Click here for more information.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Summary

If the asset being imported contains an ampersand in the name, an XML parsing error is thrown and the DataSync fails

Symptoms

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
Version history
Last update:
‎Nov 07, 2018 06:08 PM
Updated by: