A project manager is getting the following XML error on one of their projects when opening it in Microsoft Project:
An import error occurred.
The element <Name> in the <Task> element with <UID> = 0 has invalid data.
The error seems to be referring to a specific task name, but how do we determine which task is the one with the issue?
The error message is being thrown because it can't translate a character in name. In this example, its the character: 	. This character corresponds to the TAB key. Neither MSP or Clarity can directly accept the TAB key in the name field, so the project manager most likely copied it over from some place else.
<Name>Test Project 	ABC	DEF</Name>
To correct the issue: Have the project manager delete the TAB and replace it with a space or another character on the project Name field in Clarity. The tab may appear to already be a normal space in the Clarity UI, but it's not based on the XML output, so we will need to delete and/or replace the 'space' anyway.
For steps on how to enable debugging to generate the XML, see XML, MPP and MSP Logs for Troubleshooting MSP Issues.