Have you encountered this Primavera P6 error? It occurs while attempting to load a Microsoft Project 2007 XML file into Primavera P6 Release 8.1 web client. When using the Import/Export XML feature, the following error was reported in the Import Log:
Primavera P6 Error:
Unable to invoke setName on business object Activity. Field "Name" in Activity may not be of zero length.
What Causes this Error?
This error is caused by having a Microsoft Project schedule that has blank lines between some of the task rows. You can see in the table below an example of these blank lines in the task rows.
How to fix this?
Simply delete any blank task rows and then re-save as an XML file. You can then re-upload into P6 error free.